-
-
Notifications
You must be signed in to change notification settings - Fork 701
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
canary
version initially published as latest
#862
Comments
Thanks for the issue @ljharb. Right now, our main releases are automated through travis. We are manually publishing canary versions for I suppose we could add this though. @lucasfcosta thoughts? |
I highly discourage automated publishing for many reasons, but that's not the point of this issue :-) When manually publishing versions, if you add (I'm not sure how semantic-release handles backports) |
Hello @ljharb. First of all, I'm very sorry you had issues with this incident. |
Just want to reiterate for crystal clarity - our solution for preventing this in the future will be semantic-release. We're already rolling out semantic-release to sub-projects. All releases will be handled by semantic-releases - by scanning the commit logs or code for what has changed. As for backports, I don't think semantic-release has a full solution for backporting - but we haven't backported fixes since I've been here. We effectively (implicitly I suppose) only support the latest version of chai. |
Thanks, I think this is answered. |
Hi @ljharb, first of all I'd like to apologize for this, I'm sorry this caused you problems 😓 Me and @vieiralucas were extra careful when releasing 4.0.0 and we prepared and tested every single command in a dummy package before running them, but before doing the release itself we ended up adding a new tag on the repo for the canary release and this ended up automatic releasing that version as latest. As it has already been said, I also agree that manual releases are safer, but given the strict rules we've got on other repos for semantic-release I think this problem can also be solved that way. Thanks for your feedback and sorry again for breaking your build, it's great to hear our user's feedback! |
chai v4.0.0-canary.1 was initially published as "latest", which sadly our internal sinopia cached, so it broke some builds.
I see that you've corrected it, and I'm sure it wasn't intentional.
Can you please use https://npmjs.com/safe-publish-latest, and try to use
--tag
in yournpm publish
commands, so that non-latest versions are not published as latest, even initially?The text was updated successfully, but these errors were encountered: