mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-29 21:50:26 +00:00
f691593e65
In commit e643589233
("Travis: setup up the desired release message
right away") we temproarily switched to my fork of uploadtool to take
advantage of a new feature that I had implemented there. This has
already been merged upstream, so let's switch back to upstream.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
19 lines
550 B
Bash
19 lines
550 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
|
|
|
|
cd ${TRAVIS_BUILD_DIR}/build
|
|
zip -r -y Subsurface-$VERSION.app.zip Subsurface.app
|
|
|
|
echo "Submitting the folloing App for continuous build release:"
|
|
ls -lh Subsurface-$VERSION.app.zip
|
|
|
|
# get and run the upload script
|
|
wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
|
|
bash ./upload.sh Subsurface-$VERSION.app.zip
|
|
|