summaryrefslogtreecommitdiffstats
path: root/scripts/linux/travisbuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/linux/travisbuild.sh')
-rw-r--r--scripts/linux/travisbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/linux/travisbuild.sh b/scripts/linux/travisbuild.sh
index 9f8fd5df4..0c7f76674 100644
--- a/scripts/linux/travisbuild.sh
+++ b/scripts/linux/travisbuild.sh
@@ -38,7 +38,7 @@ unset LD_LIBRARY_PATH
./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -bundle-non-qt-libs -qmldir=./subsurface/map-widget/ -verbose=2
# create the AppImage
-export VERSION=$(cd subsurface/ ; git rev-parse --short HEAD) # linuxdeployqt uses this for naming the file
+export VERSION=$(cd ${TRAVIS_BUILD_DIR}/scripts ; ./get-version linux) # linuxdeployqt uses this for naming the file
./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -appimage -qmldir=./subsurface/map-widget/ -verbose=2
find ./appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq