summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-06 13:56:53 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-06 14:05:37 -0800
commit8307957a709bf78f3db96f9ee63b5dbe325dbde7 (patch)
treeb64f3ae15311f335e623b4e555be1f35d9ac43c3 /.travis.yml
parent77aaaa787bc201df79c47e23ed974c4a9e73cb64 (diff)
downloadsubsurface-8307957a709bf78f3db96f9ee63b5dbe325dbde7.tar.gz
Travis: upload the AppImage.zsync file as well
This should allow incremental updates of the AppImage. Unfortunately right now this requires on us not messing with the file names - which means we are losing the SHA embedded there... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 2 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index c26fec115..1cceb2285 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -68,14 +68,11 @@ script:
- ./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
- - ls -lh ./Subsurface*.AppImage
- - export APPIMAGE=Subsurface-$(cd subsurface/ ; git rev-parse --short HEAD)-x86_64.AppImage
- - cp ./Subsurface*.AppImage $APPIMAGE
after_success:
- - ls -lh $APPIMAGE
+ - ls -lh Subsurface*.AppImage
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- - bash -x ./upload.sh $APPIMAGE
+ - bash -x ./upload.sh Subsurface*.AppImage Subsurface*.AppImage.zsync
deploy:
provider: releases