aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/linux/after_success.sh
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-08 12:10:02 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-09 16:21:46 -0800
commit01cea4270504cf4f2ec4361a96f7af63df9503b4 (patch)
tree487cf44ec17c458aea577a0a9a694a5cbd5fbc1a /scripts/linux/after_success.sh
parent35d5d7c8c7dde9af7c551bc75fc3fdee0ef965da (diff)
downloadsubsurface-01cea4270504cf4f2ec4361a96f7af63df9503b4.tar.gz
Travis: move deployment into script
And no longer use the Travis deploy mechanism - uploadtool does it all. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts/linux/after_success.sh')
-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
+