From 04a302a4e473043ffb7d793fb0faa4ceccf3d13a Mon Sep 17 00:00:00 2001 From: Mark Liversedge Date: Tue, 3 Nov 2015 10:04:15 +0000 Subject: [PATCH] CI Deploy DMG to Github .. using deploy key. --- .travis.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3e603d29b..8fb09344c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -96,7 +96,16 @@ after_success: - sh travis/check-gc.sh - /usr/local/opt/$QT_PATH/bin/macdeployqt GoldenCheetah.app -verbose=2 -dmg - brew remove $QT -- hdiutil mount GoldenCheetah.dmg -- cd /Volumes/GoldenCheetah +- mv GoldenCheetah.dmg GoldenCheetah_$QT.dmg +- hdiutil mount GoldenCheetah_$QT.dmg +- cd /Volumes/GoldenCheetah_$QT - ls -laR GoldenCheetah.app - GoldenCheetah.app/Contents/MacOS/GoldenCheetah --help + +deploy: + provider: releases + api_key: $GH_OAUTH_TOKEN + file: GoldenCheetah_$QT.dmg + skip_cleanup: true + on: + tags: true