deliver/lib/deliver/options.rb in fastlane-2.149.1 vs deliver/lib/deliver/options.rb in fastlane-2.150.0.rc1

- old
+ new

@@ -1,10 +1,9 @@ require 'fastlane_core/configuration/config_item' require 'credentials_manager/appfile_config' require_relative 'module' -require_relative 'upload_assets' module Deliver # rubocop:disable Metrics/ClassLength class Options def self.available_options @@ -204,10 +203,11 @@ end), FastlaneCore::ConfigItem.new(key: :submission_information, short_option: "-b", description: "Extra information for the submission (e.g. compliance specifications, IDFA settings)", is_string: false, + type: Hash, optional: true), # affiliation FastlaneCore::ConfigItem.new(key: :team_id, short_option: "-k", @@ -281,32 +281,27 @@ # App Metadata FastlaneCore::ConfigItem.new(key: :individual_metadata_items, env_name: "DELIVER_INDIVUDAL_METADATA_ITEMS", description: "An array of localized metadata items to upload individually by language so that errors can be identified. E.g. ['name', 'keywords', 'description']. Note: slow", + deprecated: "Removed after the migration to the new App Store Connect API in June 2020", is_string: false, type: Array, default_value: []), # Non Localised FastlaneCore::ConfigItem.new(key: :app_icon, env_name: "DELIVER_APP_ICON_PATH", description: "Metadata: The path to the app icon", + deprecated: "Removed after the migration to the new App Store Connect API in June 2020", optional: true, - short_option: "-l", - verify_block: proc do |value| - UI.user_error!("Could not find png file at path '#{File.expand_path(value)}'") unless File.exist?(value) - UI.user_error!("'#{value}' doesn't seem to be one of the supported files. supported: #{Deliver::UploadAssets::SUPPORTED_ICON_EXTENSIONS.join(',')}") unless Deliver::UploadAssets::SUPPORTED_ICON_EXTENSIONS.include?(File.extname(value).downcase) - end), + short_option: "-l"), FastlaneCore::ConfigItem.new(key: :apple_watch_app_icon, env_name: "DELIVER_APPLE_WATCH_APP_ICON_PATH", description: "Metadata: The path to the Apple Watch app icon", + deprecated: "Removed after the migration to the new App Store Connect API in June 2020", optional: true, - short_option: "-q", - verify_block: proc do |value| - UI.user_error!("Could not find png file at path '#{File.expand_path(value)}'") unless File.exist?(value) - UI.user_error!("'#{value}' doesn't seem to be one of the supported files. supported: #{Deliver::UploadAssets::SUPPORTED_ICON_EXTENSIONS.join(',')}") unless Deliver::UploadAssets::SUPPORTED_ICON_EXTENSIONS.include?(File.extname(value).downcase) - end), + short_option: "-q"), FastlaneCore::ConfigItem.new(key: :copyright, env_name: "DELIVER_COPYRIGHT", description: "Metadata: The copyright notice", optional: true, is_string: true),