CI: OSX Set builds to stable on tagged builds

master
Colin Edwards 2017-02-27 14:50:16 -06:00 committed by GitHub
parent 374851c8cb
commit 775a0d0bbc
1 changed files with 6 additions and 1 deletions

View File

@ -21,7 +21,12 @@ mv ./rundir/RelWithDebInfo/obs-plugins/obs-browser.so ./
# Package everything into a nice .app
hr "Packaging .app"
sudo python ../CI/install/osx/build_app.py --public-key ../CI/install/osx/OBSPublicDSAKey.pem --sparkle-framework ../../sparkle/Sparkle.framework #--base-url=https://obsappcasturlhere
STABLE=False
if [ -n "${TRAVIS_TAG}" ]; then
STABLE=TRUE
fi
sudo python ../CI/install/osx/build_app.py --public-key ../CI/install/osx/OBSPublicDSAKey.pem --sparkle-framework ../../sparkle/Sparkle.framework --base-url "https://obsproject.com/osx_update" --stable $STABLE
# Move the CEF plugin back to where it belongs
hr "Moving CEF back"