The tag sorting order is broken; the "version" specification doesn't
special-case "rc" or "pre" etc.
For example, on a Linux Kernel repository:
# git tag --sort=version:refname
...
v3.18-rc6
v3.18-rc7
v3.19
v3.19-rc1
v3.19-rc2
v3.19-rc3
I know that "sort" doesn't know about that either, but "git" should
understand these special tags - or, at least, provide a "--sort=time" to
sort by commit timestamp instead, so that it's easy to get the newest tag.
That would at least be chronologically; it still wouldn't work with
multiple release branches, but it would be an additional option at least.
Thank you.