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:"
|
2019-07-17 07:03:48 +00:00
|
|
|
ls -lh ../subsurface-mobile-build-docker-arm*/build/outputs/apk/debug/*.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
|
2019-07-17 07:03:48 +00:00
|
|
|
bash ./upload.sh ../subsurface-mobile-build-docker-arm*/build/outputs/apk/debug/*.apk
|