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

Sort project versions #401

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

Sort project versions #401

wants to merge 1 commit into from

Conversation

lime
Copy link

@lime lime commented Jun 5, 2023

This is a partial fix for #400. I'll do a PR in dry-rb/devtools with the matching tooling change.

For the record, this ordering is what we get with:

project_versions.sort_by! { |entry| entry["value"].split(".").map(&:to_i) }.reverse!

I looked at a previous version of projects.yml, and it looks like most projects used to be in descending version order, with main last.

I could see some value in moving main first in the list, since it's even more recent than the last numbered version. The code for that would be a little more involved, but it's doable if that's preferred. :)

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

Successfully merging this pull request may close these issues.

1 participant