mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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:
parent
77aaaa787b
commit
8307957a70
1 changed files with 2 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue