From 97c9a1fcf43977420c4f3601a86f943e34a56938 Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Fri, 27 Sep 2024 08:32:47 +0200 Subject: [PATCH] Fix post script --- ci_scripts/ci_post_xcodebuild.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/ci_scripts/ci_post_xcodebuild.sh b/ci_scripts/ci_post_xcodebuild.sh index bb4378f7..3a6927f2 100644 --- a/ci_scripts/ci_post_xcodebuild.sh +++ b/ci_scripts/ci_post_xcodebuild.sh @@ -2,6 +2,10 @@ set -e +if [[ "$CI_XCODE_SCHEME" != "IceCubesApp" ]]; then + exit 1 +fi + required_env_vars=( "CI_ARCHIVE_PATH" "CI_BRANCH" @@ -23,14 +27,8 @@ pushd $(dirname $CI_ARCHIVE_PATH) zip -r --symlinks "$(basename $zip_path)" "$(basename $CI_ARCHIVE_PATH)" popd -# Update this with your repo repo_name='IceCubesApp' - tag='release' -if [[ "$CI_XCODE_SCHEME" == "My Debug Archive Scheme" ]]; then - tag='debug' -fi - json_fields=$(cat <