about summary refs log tree commit diff
path: root/overlays/patches/emacs/overlay/repos/emacs/update
diff options
context:
space:
mode:
Diffstat (limited to 'overlays/patches/emacs/overlay/repos/emacs/update')
-rwxr-xr-xoverlays/patches/emacs/overlay/repos/emacs/update4
1 files changed, 1 insertions, 3 deletions
diff --git a/overlays/patches/emacs/overlay/repos/emacs/update b/overlays/patches/emacs/overlay/repos/emacs/update
index d1ef5548861a..1b5104641de6 100755
--- a/overlays/patches/emacs/overlay/repos/emacs/update
+++ b/overlays/patches/emacs/overlay/repos/emacs/update
@@ -43,7 +43,7 @@ function update_release() {
     echo emacs release
 
     git clone --shallow-since="$(date --date='-6 month')" https://git.savannah.gnu.org/git/emacs.git emacs_git_repo
-    tag=$(git -C emacs_git_repo tag -l --sort=-v:refname 'emacs-[1-9]*' | head -n1)
+    tag=$(git -C emacs_git_repo tag -l --sort=-v:refname 'emacs-*' | grep -v '\-rc' | head -n1)
     rm -rf emacs_git_repo
 
     digest=$(nix-prefetch-url --unpack "https://git.savannah.gnu.org/cgit/emacs.git/snapshot/emacs-${tag}.tar.gz")
@@ -53,9 +53,7 @@ function update_release() {
 }
 
 update_savannah_branch master
-update_savannah_branch feature/native-comp
 update_savannah_branch feature/pgtk
-update_github_repo flatwhatson emacs pgtk-nativecomp
 update_release
 
 nix-build --no-out-link --show-trace ./test.nix