Last Updated: February 25, 2016
· akalyaev

Get last Git tag

Occasionally I need to know the last Git tag in order to bump app version. I am using this command (supposing you are using semantic versioning):

git tag -l | sort -V | tail -1

1 Response
Add your response

Nice one

over 1 year ago ·