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