You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @benjervis, @mrm007. I'm using Changeset for version releasing with GitHub Actions and used your packages for snapshot tests on the develop branch. I've set up the flow and it's working as expected except for one weird issue:
I see on the logs that it's publishing new snapshot releases to the NPM registry:
🦋 info Publishing "@MY_ORG/react" at "0.0.0-develop-20220928231449"
But after these, I see the following error:
🦋 error npm ERR! 403 403 Forbidden - PUT https://registry.npmjs.org/@MY_ORG/react - You cannot publish over the previously published versions: 0.0.0-develop-20220928231449.
Somehow, it triggers the release two times, and this causes the Action to fail. Do you have any idea why it can happen?
The text was updated successfully, but these errors were encountered:
In my monorepo, the reason was the publish script inside the packages. Changeset was trying to run the publish a second time unintentionally, so it's trying to publish again. Renaming publish script is solving the issue.
Description
Hi @benjervis, @mrm007. I'm using Changeset for version releasing with GitHub Actions and used your packages for snapshot tests on the
develop
branch. I've set up the flow and it's working as expected except for one weird issue:I see on the logs that it's publishing new snapshot releases to the NPM registry:
But after these, I see the following error:
🦋 error npm ERR! 403 403 Forbidden - PUT https://registry.npmjs.org/@MY_ORG/react - You cannot publish over the previously published versions: 0.0.0-develop-20220928231449.
Somehow, it triggers the release two times, and this causes the Action to fail. Do you have any idea why it can happen?
The text was updated successfully, but these errors were encountered: