Skip to content

Retrieve latest semvar tag in order

Compare
Choose a tag to compare
@anothrNick anothrNick released this 23 Jan 17:26
· 251 commits to master since this release
1b82315
  • Use the git for-each-ref command to extract the last semver tag in order, and only if it actually looks like a semver.
  • If semver fails at generating a new tag, don't just add v or $pre_release to an empty string.