CI: OSX Set builds to stable on tagged builds

This commit is contained in:
Colin Edwards
2017-02-27 14:50:16 -06:00
committed by GitHub
parent 374851c8cb
commit 775a0d0bbc

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"