Skip to content

Commit a929fb1

Browse files
authored
Allow bypassing confirmation in upload metadata via CI (#1683)
2 parents 9f238aa + ee530cd commit a929fb1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.buildkite/release-pipelines/update-metadata-on-app-store-connect.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ steps:
2525
bundle exec fastlane run configure_apply
2626
2727
echo '--- :shipit: Update Release Notes and Other App Store Metadata'
28-
bundle exec fastlane update_metadata_on_app_store_connect
28+
bundle exec fastlane update_metadata_on_app_store_connect skip_confirm:true
2929
retry:
3030
manual:
3131
# If those jobs fail, one should always prefer re-triggering a new build from ReleaseV2 rather than retrying the individual job from Buildkite

fastlane/Fastfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ platform :ios do
8484
# @option [Boolean] with_screenshots (default: false) If true, will also upload the latest screenshot files to ASC
8585
#
8686
desc 'Upload the localized metadata to App Store Connect, optionally including screenshots.'
87-
lane :update_metadata_on_app_store_connect do |with_screenshots: false|
87+
lane :update_metadata_on_app_store_connect do |skip_confirm: false, with_screenshots: false|
8888
# Skip screenshots by default. The naming is "with" to make it clear that
8989
# callers need to opt-in to adding screenshots. The naming of the deliver
9090
# (upload_to_app_store) parameter, on the other hand, uses the skip verb.
@@ -99,7 +99,8 @@ platform :ios do
9999
overwrite_screenshots: true, # won't have effect if `skip_screenshots` is true
100100
phased_release: true,
101101
precheck_include_in_app_purchases: false,
102-
api_key_path: APP_STORE_CONNECT_KEY_PATH
102+
api_key_path: APP_STORE_CONNECT_KEY_PATH,
103+
force: skip_confirm
103104
)
104105
end
105106

0 commit comments

Comments
 (0)