Skip to content

Newest Version Order #168706

Answered by Trenly
RAOEUS asked this question in Q&A
Discussion options

You must be logged in to vote

Take a look at how versions are parsed in WinGet. It's the extra . thats causing the issue

Breaking it down, the versions are compared like this

Part A Part B Comparison
4 4 Equal
0 0 Equal
0rc2 0 B is greater since it has no trailing alpha- characters
0 dev12 Not Compared

To fix this, 4.0.0rc2 could be moved to 4.0.0.rc2; or 4.0.0.dev12 could be moved to 4.0.0dev12

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by denelon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants