diff --git a/repos/emacs/emacs-lsp.json b/repos/emacs/emacs-lsp.json index 897bae604..aca9eb10d 100644 --- a/repos/emacs/emacs-lsp.json +++ b/repos/emacs/emacs-lsp.json @@ -1 +1 @@ -{"type": "github", "owner": "emacs-lsp", "repo": "emacs", "rev": "f34bbbdc8561f5e361d7404c20280cb454051933", "sha256": "01hj0dl0ryz8b8p7g7qpl2hdjvnb1xwxh4hny91zkyz9s0qwf4xk", "version": "20221113.0"} +{"type": "github", "owner": "emacs-lsp", "repo": "emacs", "rev": "f28010891665f1a2ebc9038a203e3ec870ce792c", "sha256": "01s6c29d2dggsk6088yibk3r9ifiz1xl9jbir2brcsllrba8cx4s", "version": "20221208.0"} diff --git a/repos/emacs/update b/repos/emacs/update index 3de0f5309..89a542110 100755 --- a/repos/emacs/update +++ b/repos/emacs/update @@ -25,6 +25,7 @@ function update_github_repo() { owner=$1 repo=$2 branch=$3 + output_name=$4 echo $repo $branch # Get relevant data (commit id and timestamp) for the latest commit @@ -34,9 +35,8 @@ function update_github_repo() { commit_sha=$(echo $commit_data | cut -d '/' -f 2) version_number=$(echo $commit_data | cut -d '/' -f 3 | cut -d 'T' -f 1 | sed 's/-//g').0 - output_branch=$(echo $branch | sed s/"\/"/"_"/) digest=$(nix-prefetch-url --unpack "https://github.com/$owner/$repo/archive/${commit_sha}.tar.gz") - echo "{\"type\": \"github\", \"owner\": \"${owner}\", \"repo\": \"${repo}\", \"rev\": \"${commit_sha}\", \"sha256\": \"${digest}\", \"version\": \"${version_number}\"}" > $repo-$output_branch.json + echo "{\"type\": \"github\", \"owner\": \"${owner}\", \"repo\": \"${repo}\", \"rev\": \"${commit_sha}\", \"sha256\": \"${digest}\", \"version\": \"${version_number}\"}" > $repo-$output_name.json } function update_release() { @@ -52,5 +52,6 @@ function update_release() { update_savannah_branch master update_release +update_github_repo emacs-lsp emacs json-rpc lsp nix-build --no-out-link --show-trace ./test.nix