git_tag_exists¶
Checks if the git tag with the given name exists in the current repo
git_tag_exists | |
---|---|
Supported platforms | ios, android, mac |
Author | @antondomashnev |
Returns | Boolean value whether the tag exists or not |
1 Example¶
if git_tag_exists(tag: "1.1.0")
UI.message("Found it 🚀")
end
Parameters¶
Key | Description | Default |
---|---|---|
tag |
The tag name that should be checked | |
remote |
Whether to check remote. Defaults to false |
false |
remote_name |
The remote to check. Defaults to origin |
origin |
* = default value is dependent on the user's system
To show the documentation in your terminal, run
fastlane action git_tag_exists