Closed paulopontesm closed 3 years ago
what's the use case? isn't the result of
git describe --abbrev=0 --tags
that you are looking for?
Not really. you can have tags that were manually tagged and are not part of the versioning workflow. You would have to filter the tags with a regex in the git command. Which means you would need logic external to the tool to find the previous tag. This makes it easier and more consistent to find the previous version
what's the use case? isn't the result of
git describe --abbrev=0 --tags
that you are looking for?