From 4bd2fecfa2b9b82a096c6afd4d7a1e3677980f42 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Mon, 4 Jul 2022 16:51:56 -0400 Subject: [PATCH] Better package.sh --- scripts/package.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/package.sh b/scripts/package.sh index d9ec0b8..c698baf 100755 --- a/scripts/package.sh +++ b/scripts/package.sh @@ -4,6 +4,7 @@ set -e # Prepare NAME='minecraft-pi-reborn' +BRANCH='master' # Build ./scripts/setup.sh "$1" "$2" -DMCPI_IS_APPIMAGE_BUILD=ON @@ -23,7 +24,7 @@ fi # Package ARCH="${RUNTIME_ARCH}" appimagetool \ - --updateinformation "zsync|https://jenkins.thebrokenrail.com/job/minecraft-pi-reborn/job/master/lastSuccessfulBuild/artifact/out/${NAME}-latest-$2.AppImage.zsync" \ + --updateinformation "zsync|https://jenkins.thebrokenrail.com/job/minecraft-pi-reborn/job/${BRANCH}/lastSuccessfulBuild/artifact/out/${NAME}-latest-$2.AppImage.zsync" \ --runtime-file "build/appimage/runtime-$2" \ --comp xz \ "./out/$1-$2" \