From 775a0d0bbc66f3c9818b0bfa658cf677295b3356 Mon Sep 17 00:00:00 2001 From: Colin Edwards Date: Mon, 27 Feb 2017 14:50:16 -0600 Subject: [PATCH] CI: OSX Set builds to stable on tagged builds --- CI/before-deploy-osx.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CI/before-deploy-osx.sh b/CI/before-deploy-osx.sh index 0326f24e9..f1369e957 100755 --- a/CI/before-deploy-osx.sh +++ b/CI/before-deploy-osx.sh @@ -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" -- GitLab