lib/pilot/options.rb in pilot-1.10.1 vs lib/pilot/options.rb in pilot-1.11.0

- old
+ new

@@ -32,10 +32,20 @@ FastlaneCore::ConfigItem.new(key: :changelog, short_option: "-w", optional: true, env_name: "PILOT_CHANGELOG", description: "Provide the what's new text when uploading a new build"), + FastlaneCore::ConfigItem.new(key: :beta_app_description, + short_option: "-d", + optional: true, + env_name: "PILOT_BETA_APP_DESCRIPTION", + description: "Provide the beta app description when uploading a new build"), + FastlaneCore::ConfigItem.new(key: :beta_app_feedback_email, + short_option: "-n", + optional: true, + env_name: "PILOT_BETA_APP_FEEDBACK", + description: "Provide the beta app email when uploading a new build"), FastlaneCore::ConfigItem.new(key: :skip_submission, short_option: "-s", env_name: "PILOT_SKIP_SUBMISSION", description: "Skip the distributing action of pilot and only upload the ipa file", is_string: false, @@ -91,24 +101,24 @@ UI.user_error!("Please enter a valid positive number of seconds") unless value.to_i > 0 end), FastlaneCore::ConfigItem.new(key: :team_id, short_option: "-q", env_name: "PILOT_TEAM_ID", - description: "The ID of your team if you're in multiple teams", + 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 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 team if you're in multiple teams", + description: "The name of your iTunes Connect team if you're in multiple teams", optional: true, default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_name), verify_block: proc do |value| - ENV["FASTLANE_ITC_TEAM_NAME"] = 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,