fix: You can't use 'build_number' and 'ipa' options in one run.

This commit is contained in:
Ivan Smolin 2024-01-31 13:47:24 +03:00
parent 66f4df9425
commit 565279ef75
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ def upload_to_app_store_using_options(options, submit_for_review = false)
api_key_path: options[:api_key_path], api_key_path: options[:api_key_path],
api_key: options[:api_key], api_key: options[:api_key],
ipa: options[:ipa_path], ipa: options[:ipa_path],
build_number: options[:buildNumber], build_number: options[:ipa_path].nil? ? options[:buildNumber] : nil,
skip_binary_upload: options[:ipa_path].nil?, skip_binary_upload: options[:ipa_path].nil?,
skip_screenshots: true, skip_screenshots: true,
force: true, # skip metainfo prompt force: true, # skip metainfo prompt