Method: Fastlane::Actions::HgCommitVersionBumpAction.available_options

Defined in:
fastlane/lib/fastlane/actions/hg_commit_version_bump.rb

.available_optionsObject


111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
# File 'fastlane/lib/fastlane/actions/hg_commit_version_bump.rb', line 111

def self.available_options
  [
    FastlaneCore::ConfigItem.new(key: :message,
                                 env_name: "FL_COMMIT_BUMP_MESSAGE",
                                 description: "The commit message when committing the version bump",
                                 default_value: "Version Bump"),
    FastlaneCore::ConfigItem.new(key: :xcodeproj,
                                 env_name: "FL_BUILD_NUMBER_PROJECT",
                                 description: "The path to your project file (Not the workspace). If you have only one, this is optional",
                                 optional: true,
                                 verify_block: proc do |value|
                                   UI.user_error!("Please pass the path to the project, not the workspace") if value.end_with?(".xcworkspace")
                                   UI.user_error!("Could not find Xcode project") unless File.exist?(value)
                                 end),
    FastlaneCore::ConfigItem.new(key: :force,
                                 env_name: "FL_FORCE_COMMIT",
                                 description: "Forces the commit, even if other files than the ones containing the version number have been modified",
                                 optional: true,
                                 default_value: false,
                                 is_string: false),
    FastlaneCore::ConfigItem.new(key: :test_dirty_files,
                                 env_name: "FL_HG_COMMIT_TEST_DIRTY_FILES",
                                 description: "A list of dirty files passed in for testing",
                                 optional: true,
                                 default_value: "file1, file2"),
    FastlaneCore::ConfigItem.new(key: :test_expected_files,
                                 env_name: "FL_HG_COMMIT_TEST_EXP_FILES",
                                 description: "A list of expected changed files passed in for testing",
                                 optional: true,
                                 default_value: "file1, file2")
  ]
end