diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-05-20 11:02:41 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-05-20 11:35:28 -0700 |
commit | d8fa24dcd8dadae6fd1d43a4a0a76f702bce14cb (patch) | |
tree | fcb050c0dd4f352cbeab41d13f2c6d172fe14706 /scripts | |
parent | 96079d7e6a9ae476dfbcc9d62dd8f6ba722fdc0d (diff) | |
download | subsurface-d8fa24dcd8dadae6fd1d43a4a0a76f702bce14cb.tar.gz |
Travis: don't fail Linux build when .zsync is missing
It seems that sometimes the AppImage tooling gets confused and doesn't
create a .zsync file. That should cause Travis to fail.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/linux/after_success.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/linux/after_success.sh b/scripts/linux/after_success.sh index 480b82431..5a1a5f76c 100644 --- a/scripts/linux/after_success.sh +++ b/scripts/linux/after_success.sh @@ -12,5 +12,11 @@ ls -lh Subsurface*.AppImage # get and run the upload script wget -c https://raw.githubusercontent.com/dirkhh/uploadtool/master/upload.sh -bash ./upload.sh Subsurface*.AppImage Subsurface*.AppImage.zsync + +# don't fail if the zsync file is missing +if [ -f Subsurface*.AppImage.zsync ] ; then + bash ./upload.sh Subsurface*.AppImage Subsurface*.AppImage.zsync +else + bash ./upload.sh Subsurface*.AppImage +fi bash ./upload.sh smtk2ssrf*.AppImage |