Skip to content

Commit 9d5b508

Browse files
committed
fix version
1 parent 078b5d0 commit 9d5b508

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

get-dependencies.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,5 @@ mkdir -p ./AppDir/bin
3434
cp -rv ./opt/OpenCode/* ./AppDir/bin
3535
cp -v ./usr/share/applications/@*.desktop ./AppDir
3636
cp -v ./usr/share/icons/hicolor/150x150/apps/@*.png ./AppDir
37+
38+
awk -F'/' '/Location:/{print $(NF-1); exit}' /tmp/download.log > ~/version

make-appimage.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
set -eu
44

55
ARCH=$(uname -m)
6-
VERSION=$(pacman -Q opencode-desktop-bin | awk '{print $2; exit}') # example command to get version of application here
7-
export ARCH VERSION
6+
export ARCH
87
export OUTPATH=./dist
98
export ADD_HOOKS="self-updater.bg.hook"
109
export UPINFO="gh-releases-zsync|${GITHUB_REPOSITORY%/*}|${GITHUB_REPOSITORY#*/}|latest|*$ARCH.AppImage.zsync"

0 commit comments

Comments
 (0)