Skip to content

Improved tag sorting

Latest
Compare
Choose a tag to compare
@franiglesias franiglesias released this 20 Sep 11:11
· 2 commits to master since this release
1d32c2a
  • use sorting option of git command, it allows to sort tags by date. sort -r doesn't work properly in all cases, e.g. if there are two tags exist 0.3.9 and 0.3.68, then sort -r will return 0.3.9 as first tag

  • grep "^v[0-9].[0-9].[0-9]" doesn't make sense here, git tag -l --sort=-committerdate returns only the list of tags