deliver/lib/deliver/options.rb in fastlane-2.71.0.beta.20171221010003 vs deliver/lib/deliver/options.rb in fastlane-2.71.0.beta.20171222010003
- old
+ new
@@ -18,10 +18,11 @@
FastlaneCore::ConfigItem.new(key: :app_identifier,
short_option: "-a",
env_name: "DELIVER_APP_IDENTIFIER",
description: "The bundle identifier of your app",
optional: true,
+ code_gen_sensitive: true,
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)),
FastlaneCore::ConfigItem.new(key: :app,
short_option: "-p",
env_name: "DELIVER_APP_ID",
description: "The app ID of the app you want to use/modify",
@@ -36,10 +37,11 @@
FastlaneCore::ConfigItem.new(key: :ipa,
short_option: "-i",
optional: true,
env_name: "DELIVER_IPA_PATH",
description: "Path to your ipa file",
+ code_gen_sensitive: true,
default_value: Dir["*.ipa"].sort_by { |x| File.mtime(x) }.last,
verify_block: proc do |value|
UI.user_error!("Could not find ipa file at path '#{File.expand_path(value)}'") unless File.exist?(value)
UI.user_error!("'#{value}' doesn't seem to be an ipa file") unless value.end_with?(".ipa")
end,
@@ -50,10 +52,11 @@
FastlaneCore::ConfigItem.new(key: :pkg,
short_option: "-c",
optional: true,
env_name: "DELIVER_PKG_PATH",
description: "Path to your pkg file",
+ code_gen_sensitive: true,
default_value: Dir["*.pkg"].sort_by { |x| File.mtime(x) }.last,
verify_block: proc do |value|
UI.user_error!("Could not find pkg file at path '#{File.expand_path(value)}'") unless File.exist?(value)
UI.user_error!("'#{value}' doesn't seem to be a pkg file") unless value.end_with?(".pkg")
end,
@@ -157,37 +160,41 @@
short_option: "-k",
env_name: "DELIVER_TEAM_ID",
description: "The ID of your iTunes Connect team if you're in multiple teams",
optional: true,
is_string: false, # as we also allow integers, which we convert to strings anyway
+ code_gen_sensitive: true,
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_id),
verify_block: proc do |value|
ENV["FASTLANE_ITC_TEAM_ID"] = value.to_s
end),
FastlaneCore::ConfigItem.new(key: :team_name,
short_option: "-e",
env_name: "DELIVER_TEAM_NAME",
description: "The name of your iTunes Connect team if you're in multiple teams",
optional: true,
+ code_gen_sensitive: true,
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_name),
verify_block: proc do |value|
ENV["FASTLANE_ITC_TEAM_NAME"] = value.to_s
end),
FastlaneCore::ConfigItem.new(key: :dev_portal_team_id,
short_option: "-s",
env_name: "DELIVER_DEV_PORTAL_TEAM_ID",
description: "The short ID of your Developer Portal team, if you're in multiple teams. Different from your iTC team ID!",
optional: true,
is_string: true,
+ code_gen_sensitive: true,
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_id),
verify_block: proc do |value|
ENV["FASTLANE_TEAM_ID"] = value.to_s
end),
FastlaneCore::ConfigItem.new(key: :dev_portal_team_name,
short_option: "-y",
env_name: "DELIVER_DEV_PORTAL_TEAM_NAME",
description: "The name of your Developer Portal team if you're in multiple teams",
optional: true,
+ code_gen_sensitive: true,
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_name),
verify_block: proc do |value|
ENV["FASTLANE_TEAM_NAME"] = value.to_s
end),
# rubocop:disable Metrics/LineLength