From 8307957a709bf78f3db96f9ee63b5dbe325dbde7 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 6 Nov 2017 13:56:53 -0800 Subject: 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 --- .travis.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to '.travis.yml') 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 -- cgit v1.2.3-70-g09d2