Skip to content

Commit 638b5a9

Browse files
author
Lee Miller
committed
Add the alpha siffix for non-merge appimage builds
1 parent de445d6 commit 638b5a9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.buildbot/appimage/build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ export APPIMAGE_EXTRACT_AND_RUN=1
44
BUILDER=appimage-builder-x86_64.AppImage
55
RECIPE=packages/AppImage/AppImageBuilder.yml
66

7+
git remote add -f upstream https://github.com/Bitmessage/PyBitmessage.git
8+
HEAD="$(git rev-parse HEAD)"
9+
UPSTREAM="$(git merge-base --fork-point upstream/v0.6)"
710
export APP_VERSION=$(git describe --tags | cut -d- -f1,3 | tr -d v)
11+
[ $HEAD != $UPSTREAM ] && APP_VERSION="${APP_VERSION}-alpha"
812

913
function set_sourceline {
1014
if [ ${ARCH} == amd64 ]; then

0 commit comments

Comments
 (0)