Skip to content

Commit b2b684b

Browse files
authored
improve
this way the script stops if these subshell fail
1 parent 9b31fe5 commit b2b684b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

make-appimage.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
set -eu
44

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

0 commit comments

Comments
 (0)