pilot/lib/pilot/options.rb in fastlane-2.28.9 vs pilot/lib/pilot/options.rb in fastlane-2.29.0.beta.20170421010107
- old
+ new
@@ -30,11 +30,11 @@
FastlaneCore::ConfigItem.new(key: :ipa,
short_option: "-i",
optional: true,
env_name: "PILOT_IPA",
description: "Path to the ipa file to upload",
- default_value: Dir["*.ipa"].sort_by { |x| File.mtime(x) }.last,
+ default_value: Dir["*.ipa"].first,
verify_block: proc do |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"
end),
FastlaneCore::ConfigItem.new(key: :changelog,
@@ -63,13 +63,12 @@
env_name: "PILOT_SKIP_WAITING_FOR_BUILD_PROCESSING",
description: "Don't wait for the build to process. If set to true, the changelog won't be set, `distribute_external` option won't work and no build will be distributed to testers",
is_string: false,
default_value: false),
FastlaneCore::ConfigItem.new(key: :update_build_info_on_upload,
- deprecated: true,
short_option: "-x",
env_name: "PILOT_UPDATE_BUILD_INFO_ON_UPLOAD",
- description: "Update build info immediately after validation. This is deprecated and will be removed in a future release. iTunesConnect no longer supports setting build info until after build processing has completed, which is when build info is updated by default",
+ description: "Update build info immediately after validation. This will set the changelog even if PILOT_SKIP_SUBMISSION is set, but will have no effect if PILOT_SKIP_WAITING_FOR_BUILD_PROCESSING is set",
is_string: false,
default_value: false),
FastlaneCore::ConfigItem.new(key: :apple_id,
short_option: "-p",
env_name: "PILOT_APPLE_ID",