deliver/lib/deliver/options.rb in fastlane-2.219.0 vs deliver/lib/deliver/options.rb in fastlane-2.220.0
- old
+ new
@@ -160,10 +160,15 @@
FastlaneCore::ConfigItem.new(key: :overwrite_screenshots,
env_name: "DELIVER_OVERWRITE_SCREENSHOTS",
description: "Clear all previously uploaded screenshots before uploading the new ones",
type: Boolean,
default_value: false),
+ FastlaneCore::ConfigItem.new(key: :screenshot_processing_timeout,
+ env_name: "DELIVER_SCREENSHOT_PROCESSING_TIMEOUT",
+ description: "Timeout in seconds to wait before considering screenshot processing as failed, used to handle cases where uploads to the App Store are stuck in processing",
+ type: Integer,
+ default_value: 3600),
FastlaneCore::ConfigItem.new(key: :sync_screenshots,
env_name: "DELIVER_SYNC_SCREENSHOTS",
description: "Sync screenshots with local ones. This is currently beta option so set true to 'FASTLANE_ENABLE_BETA_DELIVER_SYNC_SCREENSHOTS' environment variable as well",
type: Boolean,
default_value: false),
@@ -180,9 +185,18 @@
FastlaneCore::ConfigItem.new(key: :reject_if_possible,
env_name: "DELIVER_REJECT_IF_POSSIBLE",
description: "Rejects the previously submitted build if it's in a state where it's possible",
type: Boolean,
default_value: false),
+ FastlaneCore::ConfigItem.new(key: :version_check_wait_retry_limit,
+ env_name: "DELIVER_VERSION_CHECK_WAIT_RETRY_LIMIT",
+ description: "After submitting a new version, App Store Connect takes some time to recognize the new version and we must wait until it's available before attempting to upload metadata for it. There is a mechanism that will check if it's available and retry with an exponential backoff if it's not available yet. " \
+ "This option specifies how many times we should retry before giving up. Setting this to a value below 5 is not recommended and will likely cause failures. Increase this parameter when Apple servers seem to be degraded or slow",
+ type: Integer,
+ default_value: 7,
+ verify_block: proc do |value|
+ UI.user_error!("'#{value}' needs to be greater than 0") if value <= 0
+ end),
# release
FastlaneCore::ConfigItem.new(key: :automatic_release,
env_name: "DELIVER_AUTOMATIC_RELEASE",
description: "Should the app be automatically released once it's approved? (Cannot be used together with `auto_release_date`)",