Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace custom sort with sort -V #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

J3RN
Copy link

@J3RN J3RN commented Apr 23, 2024

The current sorting is sorting the new version (10.0.0) incorrectly:

$ mise ls-remote chezscheme
10.0.0
9.4
9.5
9.5.1
9.5.2
9.5.4
9.5.6
9.5.8
9.5.8a
9.6.0
9.6.2
9.6.4

Sorting can be fixed by replacing the custom sort implementation with the sort command's "version sort" capability:
Screenshot from 2024-04-23 00-19-00

@J3RN J3RN requested a review from a team as a code owner April 23, 2024 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant