26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# File 'fastlane/lib/fastlane/actions/version_get_podspec.rb', line 26
def self.available_options
[
FastlaneCore::ConfigItem.new(key: :path,
env_name: "FL_VERSION_PODSPEC_PATH",
description: "You must specify the path to the podspec file",
is_string: true,
code_gen_sensitive: true,
default_value: Dir["*.podspec"].last,
default_value_dynamic: true,
verify_block: proc do |value|
UI.user_error!("Please pass a path to the `version_get_podspec` action") if value.length == 0
end),
FastlaneCore::ConfigItem.new(key: :require_variable_prefix,
env_name: "FL_VERSION_BUMP_PODSPEC_VERSION_REQUIRE_VARIABLE_PREFIX",
description: "true by default, this is used for non CocoaPods version bumps only",
is_string: false,
default_value: true)
]
end
|