sigh/lib/sigh/options.rb in fastlane_hotfix-2.165.1 vs sigh/lib/sigh/options.rb in fastlane_hotfix-2.187.0
- old
+ new
@@ -55,19 +55,19 @@
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier),
default_value_dynamic: true),
# App Store Connect API
FastlaneCore::ConfigItem.new(key: :api_key_path,
- env_name: "SIGH_API_KEY_PATH",
+ env_names: ["SIGH_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: "SIGH_API_KEY",
+ env_names: ["SIGH_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]),
@@ -75,9 +75,10 @@
# Apple ID
FastlaneCore::ConfigItem.new(key: :username,
short_option: "-u",
env_name: "SIGH_USERNAME",
description: "Your Apple ID Username",
+ optional: true,
default_value: user,
default_value_dynamic: true),
FastlaneCore::ConfigItem.new(key: :team_id,
short_option: "-b",
env_name: "SIGH_TEAM_ID",