From bfd9fe85bd09b20d475be9beb42d042dc19b2f57 Mon Sep 17 00:00:00 2001 From: Marc Durdin Date: Wed, 6 Aug 2025 11:07:16 +0800 Subject: [PATCH] maint(ios): skip unnecessary network steps when buildLevel is build Skips codesigning and upload to TestFlight in this case. Fixes: #14286 --- ios/engine/build.sh | 2 +- resources/teamcity/ios/keyman-ios-test.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ios/engine/build.sh b/ios/engine/build.sh index fd473a2cdf..07ff68c8a2 100755 --- a/ios/engine/build.sh +++ b/ios/engine/build.sh @@ -50,7 +50,7 @@ XCODEFLAGS="-quiet -configuration $CONFIG" XCODEFLAGS_EXT="$XCODEFLAGS -derivedDataPath \"$DERIVED_DATA\" -workspace ../keymanios.xcworkspace" CODE_SIGN= -if builder_is_debug_build; then +if builder_is_debug_build || ( builder_is_ci_build && ! builder_is_ci_build_level_release ); then CODE_SIGN="CODE_SIGN_IDENTITY= CODE_SIGNING_REQUIRED=NO ${DEV_TEAM:-} CODE_SIGN_ENTITLEMENTS= CODE_SIGNING_ALLOWED=NO" fi diff --git a/resources/teamcity/ios/keyman-ios-test.sh b/resources/teamcity/ios/keyman-ios-test.sh index 9f918b8d8f..d3d97e3ba7 100755 --- a/resources/teamcity/ios/keyman-ios-test.sh +++ b/resources/teamcity/ios/keyman-ios-test.sh @@ -103,8 +103,8 @@ function _upload_to_testflight_pr_area_fv() { function do_build() { ios_build ios_capture_build_artifacts - _upload_to_testflight_pr_area - _upload_to_testflight_pr_area_fv + builder_if_release_build_level _upload_to_testflight_pr_area + builder_if_release_build_level _upload_to_testflight_pr_area_fv } ba_mac_unlock_keychain