From 638b5a9b1a0e3cca4da025cf1615b2e8b05f9cd4 Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Sat, 18 May 2024 23:15:29 +0300 Subject: [PATCH] Add the alpha siffix for non-merge appimage builds --- .buildbot/appimage/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.buildbot/appimage/build.sh b/.buildbot/appimage/build.sh index c8dc4f56..10f5ad75 100755 --- a/.buildbot/appimage/build.sh +++ b/.buildbot/appimage/build.sh @@ -4,7 +4,11 @@ export APPIMAGE_EXTRACT_AND_RUN=1 BUILDER=appimage-builder-x86_64.AppImage RECIPE=packages/AppImage/AppImageBuilder.yml +git remote add -f upstream https://github.com/Bitmessage/PyBitmessage.git +HEAD="$(git rev-parse HEAD)" +UPSTREAM="$(git merge-base --fork-point upstream/v0.6)" export APP_VERSION=$(git describe --tags | cut -d- -f1,3 | tr -d v) +[ $HEAD != $UPSTREAM ] && APP_VERSION="${APP_VERSION}-alpha" function set_sourceline { if [ ${ARCH} == amd64 ]; then