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
Written by Anton Kalyaev
Related protips
1 Response
Nice one
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Tag
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#