From a986dfe848cb74265e6cfaa1eea04a3d6b598507 Mon Sep 17 00:00:00 2001 From: ludo Date: Mon, 18 Jan 2021 16:11:30 +0800 Subject: [PATCH] CMAKE_BUILD_TYPE --- CI/full-build-macos.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/CI/full-build-macos.sh b/CI/full-build-macos.sh index 3e60c92e0..ff1ef9f7a 100755 --- a/CI/full-build-macos.sh +++ b/CI/full-build-macos.sh @@ -32,8 +32,6 @@ # Halt on errors set -eE -set -x - ## SET UP ENVIRONMENT ## PRODUCT_NAME="OBS-Studio" @@ -374,8 +372,7 @@ prepare_macos_bundle() { if [ ! -d ./rundir/${CI_BUILD_TYPE}/bin ]; then error "No OBS build found" - ls ./rundir - return + exit 1 fi if [ -d ./OBS-WebRTC.app ]; then rm -rf ./OBS-WebRTC.app; fi @@ -420,7 +417,7 @@ prepare_macos_image() { if [ ! -d ./OBS-WebRTC.app ]; then error "No OBS-WebRTC.app bundle found" - return + exit 1 fi hr "Preparing macOS installation image" @@ -495,7 +492,7 @@ codesign_bundle() { if [ ! -d ./OBS-WebRTC.app ]; then error "No OBS-WebRTC.app bundle found" - return + exit 1 fi hr "Code-signing application bundle" @@ -536,7 +533,7 @@ codesign_image() { if [ ! -f "${FILE_NAME}" ]; then error "No OBS disk image found" - return + exit 1 fi hr "Code-signing installation image"