pilot/lib/pilot/options.rb in fastlane-2.28.5 vs pilot/lib/pilot/options.rb in fastlane-2.28.6

- old
+ new

@@ -30,10 +30,10 @@ 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"].first, + default_value: Dir["*.ipa"].sort_by { |x| File.mtime(x) }.last, 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,