diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-11-11 09:38:41 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-11-11 17:48:57 -0800 |
commit | 4d04f74312dc4a7fe75a442cf22a2901ede28d1a (patch) | |
tree | 3e96341392822a4d4a038b0a72efa174191ce535 /scripts/windows/after_success.sh | |
parent | a157fa5c6778543be5981bc2384dac563436a1f9 (diff) | |
download | subsurface-4d04f74312dc4a7fe75a442cf22a2901ede28d1a.tar.gz |
Travis: also build an MXE/Windows installer
In the process, simplify our dependency a bit by no longer building
against libssh2 (we don't support ssh based authentication for git
on Windows) and libcurl (since it's proxy implementation doesn't appear
to actually work on Windows, anyway).
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts/windows/after_success.sh')
-rw-r--r-- | scripts/windows/after_success.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/windows/after_success.sh b/scripts/windows/after_success.sh new file mode 100644 index 000000000..9fd38c475 --- /dev/null +++ b/scripts/windows/after_success.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +if [ ! -z $TRAVIS_BRANCH ] && [ "$TRAVIS_BRANCH" != "master" ] ; then + export UPLOADTOOL_SUFFIX=$TRAVIS_BRANCH +fi + +cd ${TRAVIS_BUILD_DIR}/../win32/subsurface + +echo "Submitting the folloing Windows installer for continuous build release:" +find . -name subsurface\*.exe + +# get and run the upload script +wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh +bash ./upload.sh subsurface*.exe + |