summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-14 21:39:40 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-14 21:41:42 -0800
commit533098980a1d5627d7bb316fb55a4e53177e31a7 (patch)
tree66213b5c91ea8effd64c00c276febb9456fbe8d4 /scripts
parent9c3a45af956dbf529a47e517771797d81df4a902 (diff)
downloadsubsurface-533098980a1d5627d7bb316fb55a4e53177e31a7.tar.gz
Travis: update the release message to mention Mac
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/travis_end.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/travis_end.sh b/scripts/travis_end.sh
index 5f4c829a8..909ad787b 100644
--- a/scripts/travis_end.sh
+++ b/scripts/travis_end.sh
@@ -19,9 +19,10 @@ fi
# update the Body of the Release to be more interesting
T_BUILD_REF="Travis CI build log: https://travis-ci.org/Subsurface-divelog/subsurface/builds/$TRAVIS_BUILD_ID/\n"
-WIN_BINS="subsurface.exe and subsurface.exe.debug are just the Subsurface executable for this build, the full Windows installer contains the version number in its name.\n"
-MISSING_BINS="So far Mac App and Android APK are not automatically created on Travis - try looking for them at http://subsurface-divelog.org/downloads/test."
-BODY=$T_BUILD_REF$WIN_BINS$MISSING_BINS
+WIN_BINS="subsurface.exe and subsurface.exe.debug are just the Subsurface executable for this build, the full Windows installer is subsurface-$VERSION.exe.\n"
+MAC_ZIP="Subsurface-$VERSION.app.zip is a zip archive containing an unsigned app folder; you will have to override Mac security settings in order to be able to run this app.\n"
+MISSING_BINS="The Android APK is not yet automatically created on Travis - try looking for the latest at http://subsurface-divelog.org/downloads/test."
+BODY=$T_BUILD_REF$WIN_BINS$MAC_ZIP$MISSING_BINS
release_id=$(curl https://api.github.com/repos/Subsurface-divelog/subsurface/releases/tags/${RELEASE_NAME} | grep "\"id\":" | head -n 1 | tr -s " " | cut -f 3 -d" " | cut -f 1 -d ",")
release_infos=$(curl -H "Authorization: token ${GITHUB_TOKEN}" --request PATCH \