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
Pre-Release 14.0.0-rc.1 was published as "latest" #1375
Comments
Check yourself here: https://www.npmjs.com/package/graphql?activeTab=versions |
@swernerx I tested
@mjmahone Can you please unpublish package? |
Here is an article explaining what happened: https://medium.com/@mbostock/prereleases-and-npm-e778fc5e2420 NPM has very strange behavior by default. |
NPM reports that package was published:
So we still have 13 hours to find someone with NPM keys. |
@mjmahone No need to unpublish anything we can simply change NPM tags: npm dist-tags add graphql@0.13.2 latest
npm dist-tags add graphql@14.0.0-rc.1 rc See |
@mjmahone Can you please set correct tag? |
@mjmahone I see you are active in other issues can you please comment on this one? After releasing |
Shoot sorry I missed this. Trying to update tags now, though I'm not sure whether I have the right permission to do this. Figuring out how things make it to npm has been a bit of a struggle. Thank you @IvanGoncharov for providing much needed resources, and @swernerx for identifying the issue! |
It seems like the main issue is that I don't have write access to npm. It seems like only TravisCI is allowed to publish to our npm package. I'm not sure how to force the tag to be correct, but I'm trying to figure out who has the ability to update the tag. @leebyron might? |
@mjmahone Here is complete list:
|
@wincent @kassens @asiandrummer Can you please assist in resolving this issue? npm dist-tags add graphql@0.13.2 latest
npm dist-tags add graphql@14.0.0-rc.2 rc For detail explanation please see |
Alright I got permission to update the npm registry and it seems like the issue is fixed. I promise to do better on these publishes/releases going forwards. To anyone who accidentally added the rc version: please downgrade if possible. @IvanGoncharov thank you so much for guiding me through the issue and solution. |
@mjmahone I think it's critical to make Travis script:
I would try to setup Travis in such way on a fork of this repo and do testing with |
Now everything is working as expected and |
Sorry for missing this - @mjmahone if you want to release RCs in the future feel free to ping me on messenger if you need any assistance. We should be careful not to break people's expectations of versions over npm |
Prevents issues similar to graphql#1375 See: https://docs.npmjs.com/files/package.json#publishconfig
Prevents issues similar to graphql#1375 See: https://docs.npmjs.com/files/package.json#publishconfig
Prevents issues similar to graphql#1375 See: https://docs.npmjs.com/files/package.json#publishconfig
Prevents issues similar to graphql#1375 See: https://docs.npmjs.com/files/package.json#publishconfig
Prevents issues similar to #1375 See: https://docs.npmjs.com/files/package.json#publishconfig
I think there is an issue happened with the last published package. 14.0.0-rc.1 is clearly a pre-release - even the changelog is saying so, but was published as "latest" which leads some automatic update tools to go to this version. Any chance to get this fixed?
The text was updated successfully, but these errors were encountered: