fastlane/lib/fastlane/actions/tryouts.rb in fastlane_hotfix-2.165.1 vs fastlane/lib/fastlane/actions/tryouts.rb in fastlane_hotfix-2.187.0
- old
+ new
@@ -89,11 +89,10 @@
UI.user_error!("Couldn't find build file at path '#{value}'") unless File.exist?(value)
end),
FastlaneCore::ConfigItem.new(key: :notes,
env_name: "TRYOUTS_NOTES",
description: "Release notes",
- is_string: true,
optional: true),
FastlaneCore::ConfigItem.new(key: :notes_path,
env_name: "TRYOUTS_NOTES_PATH",
description: "Release notes text file path. Overrides the :notes parameter",
verify_block: proc do |value|
@@ -101,19 +100,19 @@
end,
optional: true),
FastlaneCore::ConfigItem.new(key: :notify,
env_name: "TRYOUTS_NOTIFY",
description: "Notify testers? 0 for no",
- is_string: false,
+ type: Integer,
default_value: 1),
FastlaneCore::ConfigItem.new(key: :status,
env_name: "TRYOUTS_STATUS",
description: "2 to make your release public. Release will be distributed to available testers. 1 to make your release private. Release won't be distributed to testers. This also prevents release from showing up for SDK update",
verify_block: proc do |value|
available_options = ["1", "2"]
UI.user_error!("'#{value}' is not a valid 'status' value. Available options are #{available_options.join(', ')}") unless available_options.include?(value.to_s)
end,
- is_string: false,
+ type: Integer,
default_value: 2)
]
end
def self.example_code