-
-
Save pablo384/f7144394f7c5a2641d501d00c3baac54 to your computer and use it in GitHub Desktop.
Get Previous Git Tag (the one before the latest tag)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://stackoverflow.com/a/28818420/484780 | |
git describe --abbrev=0 --tags `git rev-list --tags --skip=1 --max-count=1` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment