summaryrefslogtreecommitdiffstats
path: root/scripts/windows/after_success.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/windows/after_success.sh')
-rw-r--r--scripts/windows/after_success.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/windows/after_success.sh b/scripts/windows/after_success.sh
new file mode 100644
index 000000000..9fd38c475
--- /dev/null
+++ b/scripts/windows/after_success.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+if [ ! -z $TRAVIS_BRANCH ] && [ "$TRAVIS_BRANCH" != "master" ] ; then
+ export UPLOADTOOL_SUFFIX=$TRAVIS_BRANCH
+fi
+
+cd ${TRAVIS_BUILD_DIR}/../win32/subsurface
+
+echo "Submitting the folloing Windows installer for continuous build release:"
+find . -name subsurface\*.exe
+
+# get and run the upload script
+wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
+bash ./upload.sh subsurface*.exe
+