Skip to content

Conversation

jimmidyson
Copy link
Contributor

@jimmidyson jimmidyson commented Mar 14, 2022

Enable proper sorting of pre-release versions, after corresponding
release version, as per https://github.com/git/git/blob/master/Documentation/config/versionsort.txt:

By specifying a single suffix in this variable, any tagname containing
that suffix will appear before the corresponding main release.

This effectively implements proper semantic version ordering.

Enable proper sorting or pre-release versions, after corresponding
release version, as per https://github.com/git/git/blob/master/Documentation/config/versionsort.txt:

By specifying a single suffix in this variable, any tagname containing
that suffix will appear before the corresponding main release.

This effectively implements proper semantic version ordering.
@jimmidyson
Copy link
Contributor Author

@caarlos0 Any chance we could get this in?

@caarlos0
Copy link
Owner

amazing, thanks @jimmidyson !

@caarlos0 caarlos0 merged commit 5b40c31 into caarlos0:main Mar 26, 2022
@jimmidyson jimmidyson deleted the versionsort-suffix branch March 26, 2022 05:31
@jimmidyson
Copy link
Contributor Author

@caarlos0 Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants