Skip to content
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

Release tools: prevent "You cannot publish over the previously published versions" crashing the process #17120

Closed
pomek opened this issue Sep 19, 2024 · 1 comment
Labels
package:dev resolution:resolved This issue was already resolved (e.g. by another ticket). squad:platform Issue to be handled by the Platform team. type:task This issue reports a chore (non-production change) and other types of "todos".

Comments

@pomek
Copy link
Member

pomek commented Sep 19, 2024

Provide a description of the task

This issue is a continuation of #16625.

A CI log from today's nightly says:

npm ERR! code E403
npm ERR! 403 403 Forbidden - PUT https://registry.npmjs.org/@ckeditor%2fckeditor5-paragraph - You cannot publish over the previously published versions: 0.0.0-nightly-20240919.0.
npm ERR! 403 In most cases, you or one of your dependencies are requesting
npm ERR! 403 a package version that is forbidden by your security policy, or
npm ERR! 403 on a server you do not have access to.

The tooling is trying to publish a package with an already published version. We previously identified such a problem with the E409 error code. Now, we meet an E403 error code.

We cannot ignore the 403 error as it can also mean our user lost access to publish packages. Hence, we must read the error message and identify if tools try to publish the already published package.

@pomek pomek added type:task This issue reports a chore (non-production change) and other types of "todos". squad:platform Issue to be handled by the Platform team. package:dev labels Sep 19, 2024
@pomek
Copy link
Member Author

pomek commented Oct 21, 2024

This would be resolved via https://github.com/ckeditor/ckeditor5-dev/releases/tag/v44.1.0.

@pomek pomek closed this as completed Oct 21, 2024
@pomek pomek added the resolution:resolved This issue was already resolved (e.g. by another ticket). label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:dev resolution:resolved This issue was already resolved (e.g. by another ticket). squad:platform Issue to be handled by the Platform team. type:task This issue reports a chore (non-production change) and other types of "todos".
Projects
None yet
Development

No branches or pull requests

1 participant