-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
FYI: Alpha version numbers #1124
Comments
Oh thank you so much! People have kept complaining about this and I never quite knew what was going wrong. 😅 Oh well, this is how you learn how to open source I guess... I'll make the next alpha using this pattern. Sheesh. (eh, tried that and the |
Awesome! Also TIL there's also |
Now it make sense why |
btw the current work-around for me is setting
in |
hey just so you know, the 22-alpha is also breaking this scheme. Notice how it's listed after .23:
May i suggest |
@rstacruz hrmmm I'm just using |
oh, i see! lerna seems to prepend
I'm guessing giving it a version |
yeah that makes sense. Though... the sorting is still correct by tag — if you install gatsby@next you'll get 1.0.0-beta.2 not the canary. Right? |
let me try that now. |
yep, it seems so. as long as the
|
Hey, this isn't a bug, more of a "just thought I'd let you know", but the alpha version scheme (
1.0.0-alpha9
) is not lexically sortable. You can test this by doingnpm show gatsby versions --json
:The latest alpha (
1.0.0-alpha21
) doesn't show up at the end of the list. This can be remedied by naming it as1.0.0-alpha.21
.From semver.org:
Great work on Gatsby by the way!
The text was updated successfully, but these errors were encountered: