summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/linux/after_success.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/linux/after_success.sh b/scripts/linux/after_success.sh
new file mode 100644
index 000000000..c392ea6f0
--- /dev/null
+++ b/scripts/linux/after_success.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+if [ ! -z $TRAVIS_BRANCH ] && [ "$TRAVIS_BRANCH" != "master" ] ; then
+ export UPLOADTOOL_SUFFIX=$TRAVIS_BRANCH
+fi
+
+echo "Submitting the folloing AppImage for continuous build release:"
+ls -lh Subsurface*.AppImage
+
+# get and run the upload script
+wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
+bash ./upload.sh Subsurface*.AppImage Subsurface*.AppImage.zsync
+