Skip to content
This repository was archived by the owner on May 8, 2026. It is now read-only.

Sort project versions#401

Open
lime wants to merge 1 commit into
dry-rb:mainfrom
lime:sort-versions
Open

Sort project versions#401
lime wants to merge 1 commit into
dry-rb:mainfrom
lime:sort-versions

Conversation

@lime

@lime lime commented Jun 5, 2023

Copy link
Copy Markdown

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant