gym/lib/gym/options.rb in fastlane-2.71.1 vs gym/lib/gym/options.rb in fastlane-2.72.0.beta.20171228010004
- old
+ new
@@ -59,10 +59,14 @@
default_value: "."),
FastlaneCore::ConfigItem.new(key: :output_name,
short_option: "-n",
env_name: "GYM_OUTPUT_NAME",
description: "The name of the resulting ipa file",
- optional: true),
+ optional: true,
+ verify_block: proc do |value|
+ value.gsub!(".ipa", "")
+ value.gsub!(File::SEPARATOR, "_")
+ end),
FastlaneCore::ConfigItem.new(key: :configuration,
short_option: "-q",
env_name: "GYM_CONFIGURATION",
description: "The configuration to use when building the app. Defaults to 'Release'",
optional: true),