diff --git a/CI/before-deploy-osx.sh b/CI/before-deploy-osx.sh index 0326f24e954c05933de5773ee227e9481b930ba8..f1369e95721f91195d13b804530bb489c8a67aa2 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"