pilot/lib/pilot/options.rb in fastlane-2.40.0 vs pilot/lib/pilot/options.rb in fastlane-2.41.0.beta.20170623010027
- old
+ new
@@ -32,9 +32,10 @@
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,
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"
end),
FastlaneCore::ConfigItem.new(key: :changelog,
short_option: "-w",