deliver/lib/deliver/options.rb in fastlane-2.174.0 vs deliver/lib/deliver/options.rb in fastlane-2.175.0
- old
+ new
@@ -11,18 +11,18 @@
user ||= CredentialsManager::AppfileConfig.try_fetch_value(:apple_id)
user ||= ENV["DELIVER_USER"]
[
FastlaneCore::ConfigItem.new(key: :api_key_path,
- env_name: "DELIVER_API_KEY_PATH",
+ env_names: ["DELIVER_API_KEY_PATH", "APP_STORE_CONNECT_API_KEY_PATH"],
description: "Path to your App Store Connect API Key JSON file (https://docs.fastlane.tools/app-store-connect-api/#using-fastlane-api-key-json-file)",
optional: true,
conflicting_options: [:api_key],
verify_block: proc do |value|
UI.user_error!("Couldn't find API key JSON file at path '#{value}'") unless File.exist?(value)
end),
FastlaneCore::ConfigItem.new(key: :api_key,
- env_name: "DELIVER_API_KEY",
+ env_names: ["DELIVER_API_KEY", "APP_STORE_CONNECT_API_KEY"],
description: "Your App Store Connect API Key information (https://docs.fastlane.tools/app-store-connect-api/#use-return-value-and-pass-in-as-an-option)",
type: Hash,
optional: true,
sensitive: true,
conflicting_options: [:api_key_path]),