From d1ad27303785f08140e721958508ff2525ed7e07 Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Fri, 3 Mar 2023 05:03:14 +0200 Subject: [PATCH] Use git to determine version for the appimage --- .buildbot/appimage/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildbot/appimage/build.sh b/.buildbot/appimage/build.sh index 35bd5ac3..96779479 100755 --- a/.buildbot/appimage/build.sh +++ b/.buildbot/appimage/build.sh @@ -4,7 +4,7 @@ export APPIMAGE_EXTRACT_AND_RUN=1 BUILDER=appimage-builder-x86_64.AppImage RECIPE=packages/AppImage/AppImageBuilder.yml -export APP_VERSION=$(python setup.py --version) +export APP_VERSION=$(git describe --tags | cut -d- -f1,3 | tr -d v) function set_sourceline { if [ ${ARCH} == amd64 ]; then