Skip to content

Commit

Permalink
Keep snapshot separate after merging in pretest branch changes
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Murray <murray.alex@gmail.com>
  • Loading branch information
alexmurray committed Nov 27, 2024
1 parent 84496c4 commit e5da793
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: emacs
title: GNU Emacs
version: "30.0.92"
adopt-info: emacs
summary: GNU Emacs is the extensible self-documenting text editor
description: |
Emacs is the extensible, customizable, self-documenting real-time
Expand Down Expand Up @@ -55,8 +55,8 @@ parts:
plugin: nil
build-attributes:
- enable-patchelf
source: https://alpha.gnu.org/gnu/emacs/pretest/emacs-30.0.92.tar.xz
source-checksum: sha256/d89287bd5a8381bb60e14aab95202377261d43a60d15dc0a61d0d662bc5626be
source: git://git.savannah.gnu.org/emacs.git
source-depth: 1
organize:
snap/emacs/current/usr: usr
build-packages:
Expand Down Expand Up @@ -277,6 +277,7 @@ parts:
- LD_LIBRARY_PATH: "$SNAPCRAFT_STAGE/usr/lib"
override-pull: |
craftctl default
craftctl set version=$(grep AC_INIT configure.ac | grep -o '[0-9.]\+' | head -n1)-$(git branch --show-current | sed 's|/|-|')-$(git log -n 1 --format=%h)
# ensure we hard-code our copy of gcc-14 and g++14 for tree-sitter
# otherwise it will use the system installed ones which will have a
# different libc version and we will fail to load them
Expand Down

0 comments on commit e5da793

Please sign in to comment.