summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorGravatar Simon Peter <probono@puredarwin.org>2017-11-07 18:38:42 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-07 11:57:27 -0800
commit20510d4ff7d3f2bc17026ed6d67e3a7efaab130b (patch)
treecc6f3fcf14ea8516cd2815127935cf9a84f1b75f /.travis.yml
parent828f608b2b1e5f7754c39bf60dccdabca78c3fb6 (diff)
downloadsubsurface-20510d4ff7d3f2bc17026ed6d67e3a7efaab130b.tar.gz
Include git SHA as part of the AppImage filename
Closes #787 Signed-off-by: Simon Peter <probono@puredarwin.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 9e343ee1f..06a80febd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -66,9 +66,10 @@ script:
- export LD_LIBRARY_PATH=/usr/local/lib/ # Workaround for https://github.com/probonopd/linuxdeployqt/issues/160
- ./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -bundle-non-qt-libs -qmldir=./subsurface/map-widget/ -verbose=2
- sed -i -e 's|/usr/lib/x86_64-linux-gnu|/usr/lib/x86_64-linux-xxx|g' ./appdir/usr/lib/libgstreamer-1.0.so.0
+ - export VERSION=$(cd subsurface/ ; git rev-parse --short HEAD) # 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
- - curl --upload-file ./Subsurface*.AppImage https://transfer.sh/Subsurface-git.$(cd subsurface/ ; git rev-parse --short HEAD)-x86_64.AppImage
+ - curl --upload-file ./Subsurface*.AppImage https://transfer.sh/Subsurface-$VERSION-x86_64.AppImage
after_success:
- ls -lh Subsurface*.AppImage