Skip to content

Commit a255593

Browse files
authored
make version file
1 parent 84b3660 commit a255593

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gimp-appimage.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ set -eu
55
export ARCH="$(uname -m)"
66
export APPIMAGE_EXTRACT_AND_RUN=1
77
export VERSION="$(pacman -Q gimp | awk 'NR==1 {print $2; exit}')"
8+
echo "$VERSION" > ~/version
89
export STRACE_TIME=20
910
UPINFO="gh-releases-zsync|$(echo $GITHUB_REPOSITORY | tr '/' '|')|continuous|*$ARCH.AppImage.zsync"
1011
LIB4BN="https://raw.githubusercontent.com/VHSgunzo/sharun/refs/heads/main/lib4bin"
@@ -125,7 +126,7 @@ echo "Generating [dwfs]AppBundle...(Go runtime)"
125126
./pelf --add-appdir ./AppDir \
126127
--appbundle-id="GIMP-$VERSION" \
127128
--compression "-C zstd:level=22 -S25 -B8" \
128-
--output-to GIMP-"$VERSION"-anylinux-"$ARCH".dwfs.AppBundle
129+
--output-to GIMP-"$"-anylinux-"$ARCH".dwfs.AppBundle
129130

130131
echo "Generating zsync file..."
131132
zsyncmake *.AppImage -u *.AppImage

0 commit comments

Comments
 (0)