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 prereleases by number within them (e.g., M9 < M10) #14

Open
rossabaker opened this issue Dec 30, 2021 · 3 comments
Open

Sort prereleases by number within them (e.g., M9 < M10) #14

rossabaker opened this issue Dec 30, 2021 · 3 comments

Comments

@rossabaker
Copy link
Member

Context: https://github.com/typelevel/sbt-typelevel/pull/12/files/ddf26e78666fdce3953581dd99e7a49ea79d4111#diff-f515c6fb650430625373f4dee21cd53c79e9464b0ab728b8fa02b25ee2dd6f47

@armanbilge
Copy link
Member

armanbilge commented Dec 30, 2021

It's hard/impossible to anticipate all pre-release versioning schemes, so my suggestion is we support:

  1. the Ms and RCs, which are used by Scala itself and several typelevel projects
  2. the output of git describe, which is tag[-distance]-hash (this is what the built-in versioning emulates).

@armanbilge
Copy link
Member

I bet steward does something smart with version sorting actually.

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

No branches or pull requests

3 participants