From 01cea4270504cf4f2ec4361a96f7af63df9503b4 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 8 Nov 2017 12:10:02 -0800 Subject: Travis: move deployment into script And no longer use the Travis deploy mechanism - uploadtool does it all. Signed-off-by: Dirk Hohndel --- scripts/linux/after_success.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 scripts/linux/after_success.sh (limited to 'scripts/linux/after_success.sh') 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 + -- cgit v1.2.3-70-g09d2