last_git_tag¶
Get the most recent git tag
If you are using this action on a shallow clone, the default with some CI systems like Bamboo, you need to ensure that you have also pulled all the git tags appropriately. Assuming your git repo has the correct remote set you can issue
sh('git fetch --tags')
.
last_git_tag | |
---|---|
Supported platforms | ios, android, mac |
Author | @KrauseFx |
1 Example¶
last_git_tag
To show the documentation in your terminal, run
fastlane action last_git_tag