aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/linux/after_success.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/linux/after_success.sh')
-rw-r--r--scripts/linux/after_success.sh8
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