-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Fix CI: non-semver compliant Yarn versions #5362
Conversation
cc @Daniel15 maybe we should replace the dot by a dash on nightlies? |
@arcanis Yarn's current nightly versioning is semver compliant. See section 9 of the semver spec:
Date and time are separate identifiers, so they're correctly separated by dots. @Timer Where does that version number come from? I don't think the Yarn version numbers start with |
@Daniel15 this is coming from running |
@Timer I can't repro:
Which the
|
@Timer is right, the |
@arcanis Your example code uses a different version string format for the
gte function than for the valid function. The gte call has an "a" before
the date.
--
Regards,
Daniel Lo Nigro
https://dan.cx/ | Twitter <http://twitter.com/Daniel15> | Facebook
<http://www.facebook.com/daaniel>
…On Tue, Oct 9, 2018 at 2:25 PM Maël Nison ***@***.***> wrote:
@Timer <https://github.com/Timer> is right, the gte function throws an
exception even if valid passes 🤷♀️
Cf https://runkit.com/arcanis/5bbd1c8c1b4bc50012da3645
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5362 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAFnHURBg_YgzdTSSaKXyR7UppRZ_qN7ks5ujRRHgaJpZM4XNw63>
.
|
Oooh I found the issue. It's even better than I thought. It's not the Works:
Breaks:
Similarly, if you check
|
Hahahaha what. Is that a bug in the |
Looking at the grammar, it seems invalid. Notice how
|
Where is that grammar from? I don't see this documented at https://semver.org/ :/ |
On the github repo: https://github.com/semver/semver/blob/master/semver.md#backusnaur-form-grammar-for-valid-semver-versions Funnily, if the faulty |
Is this maybe because a number that starts with 0 is considered to be octal? That's all I can come up with. 🤷♂️ |
/cc @arcanis