2017-02-06 07:06:55 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
if [ ! -z $TRAVIS_BRANCH ] && [ "$TRAVIS_BRANCH" != "master" ] ; then
|
|
|
|
export UPLOADTOOL_SUFFIX=$TRAVIS_BRANCH
|
|
|
|
fi
|
|
|
|
|
2017-11-18 00:40:35 +00:00
|
|
|
# set up the release message to use
|
|
|
|
source ${TRAVIS_BUILD_DIR}/scripts/release-message.sh
|
|
|
|
|
2017-02-06 07:06:55 +00:00
|
|
|
echo "Submitting the folloing apk for continuous build release:"
|
2018-12-24 21:31:34 +00:00
|
|
|
ls -lh ../subsurface-mobile-build-arm*/build/outputs/apk/*.apk
|
2017-02-06 07:06:55 +00:00
|
|
|
|
|
|
|
# get and run the upload script
|
2017-12-30 19:10:40 +00:00
|
|
|
wget -c https://raw.githubusercontent.com/dirkhh/uploadtool/master/upload.sh
|
2018-12-24 21:31:34 +00:00
|
|
|
bash ./upload.sh ../subsurface-mobile-build-arm*/build/outputs/apk/*.apk
|