pilot/lib/pilot/options.rb in fastlane-2.71.0.beta.20171221010003 vs pilot/lib/pilot/options.rb in fastlane-2.71.0.beta.20171222010003

- old
+ new

@@ -16,10 +16,11 @@ FastlaneCore::ConfigItem.new(key: :app_identifier, short_option: "-a", env_name: "PILOT_APP_IDENTIFIER", description: "The bundle identifier of the app to upload or manage testers (optional)", optional: true, + code_gen_sensitive: true, default_value: ENV["TESTFLIGHT_APP_IDENTITIFER"] || CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)), FastlaneCore::ConfigItem.new(key: :app_platform, short_option: "-m", env_name: "PILOT_PLATFORM", description: "The platform to use (optional)", @@ -31,10 +32,11 @@ FastlaneCore::ConfigItem.new(key: :ipa, short_option: "-i", optional: true, env_name: "PILOT_IPA", description: "Path to the ipa file to upload", + code_gen_sensitive: true, default_value: Dir["*.ipa"].sort_by { |x| File.mtime(x) }.last, verify_block: proc do |value| value = File.expand_path(value) UI.user_error!("Could not find ipa file at path '#{value}'") unless File.exist? value UI.user_error!("'#{value}' doesn't seem to be an ipa file") unless value.end_with? ".ipa" @@ -76,10 +78,11 @@ FastlaneCore::ConfigItem.new(key: :apple_id, short_option: "-p", env_name: "PILOT_APPLE_ID", description: "The unique App ID provided by iTunes Connect", optional: true, + code_gen_sensitive: true, default_value: ENV["TESTFLIGHT_APPLE_ID"]), FastlaneCore::ConfigItem.new(key: :distribute_external, is_string: false, env_name: "PILOT_DISTRIBUTE_EXTERNAL", description: "Should the build be distributed to external testers?", @@ -121,27 +124,30 @@ short_option: "-q", env_name: "PILOT_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: "-r", env_name: "PILOT_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, env_name: "PILOT_DEV_PORTAL_TEAM_ID", description: "The short ID of your team in the developer portal, 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), # rubocop:disable Metrics/LineLength