Use git to determine version for the appimage

This commit is contained in:
Lee Miller 2023-03-03 05:03:14 +02:00
parent 385e3bb6ce
commit d1ad273037
Signed by untrusted user: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -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