From 0152eaa24677210e9981bc04305ccfb8e8797728 Mon Sep 17 00:00:00 2001 From: TheAssassin Date: Tue, 19 Nov 2019 16:00:51 +0100 Subject: [PATCH] Build versioned AppImages (#10265) --- scripts/linux/build-appimage.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/linux/build-appimage.sh b/scripts/linux/build-appimage.sh index cf37525bc9..b3cac82e0d 100755 --- a/scripts/linux/build-appimage.sh +++ b/scripts/linux/build-appimage.sh @@ -26,6 +26,8 @@ OLD_CWD=$(readlink -f .) pushd "$BUILD_DIR" +export VERSION=$(cd "$REPO_ROOT" && git describe --tags) + # standard linuxdeploy pattern #see https://docs.appimage.org/packaging-guide/from-source/index.html for more information cmake "$REPO_ROOT" -DCMAKE_INSTALL_PREFIX=/usr -G Ninja -DCMAKE_BUILD_TYPE=Release