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>
This commit is contained in:
Dirk Hohndel 2017-11-06 13:56:53 -08:00
parent 77aaaa787b
commit 8307957a70

View file

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