mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 06:00:20 +00:00
63498df1bc
Again, this is relevant for developers that do local docker android builds, and normal android builds. A normal build uses the directory subsurface-mobile-build-arm(64), and when doing a docker android build this directory is shared between host and container. That sharing is good, as it nicely exposes the build tree to the host (for easy compare, inspection, etc.). But reusing the same tree as the local one is inconvenient (and possibly dangerous due to all kinds of caching issues). So, give the docker build its own output tree for the shared subsurface-mobile-build-arm(64) build output. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
15 lines
544 B
Bash
15 lines
544 B
Bash
#!/bin/bash
|
|
|
|
if [ ! -z $TRAVIS_BRANCH ] && [ "$TRAVIS_BRANCH" != "master" ] ; then
|
|
export UPLOADTOOL_SUFFIX=$TRAVIS_BRANCH
|
|
fi
|
|
|
|
# set up the release message to use
|
|
source ${TRAVIS_BUILD_DIR}/scripts/release-message.sh
|
|
|
|
echo "Submitting the folloing apk for continuous build release:"
|
|
ls -lh ../subsurface-mobile-build-docker-arm*/build/outputs/apk/*.apk
|
|
|
|
# get and run the upload script
|
|
wget -c https://raw.githubusercontent.com/dirkhh/uploadtool/master/upload.sh
|
|
bash ./upload.sh ../subsurface-mobile-build-docker-arm*/build/outputs/apk/*.apk
|