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

Improvements for the "publishPackages()" task #1040

Merged
merged 3 commits into from
Oct 28, 2024
Merged

Improvements for the "publishPackages()" task #1040

merged 3 commits into from
Oct 28, 2024

Conversation

pomek
Copy link
Member

@pomek pomek commented Oct 27, 2024

Suggested merge commit message (convention)

Fix (release-tools): The publishPackages() task should not throw an error after trying to publish packages after reaching an attempted limit. Instead, it should verify if the last try was successfully completed and throw the error if it wasn't. Closes ckeditor/ckeditor5#17333.

Other (release-tools): Increased the attempts limit from 3 to 5.

Other (release-tools): Created a decorated version of utils (manifest(), packument()) exposed by the pacote package. It prevents from using any cache when checking the npm registry. Direct calls have been replaced with the decorated version.


Additional information

For example – encountered issues, assumptions you had to make, other affected tickets, etc.

… error after trying to publish packages after reaching an attempted limit. Instead, it should verify if the last try was successfully completed. If it wasn't, throw the error.

Other (release-tools): Increased the attemptions limit from 3 to 5.
…y the "pacote" package ("manifest()", "packument()"). It prevents from using any cache when checking the npm registry.
@pomek

This comment was marked as outdated.

Copy link
Contributor

@psmyrek psmyrek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉

@pomek pomek merged commit 937c093 into master Oct 28, 2024
7 checks passed
@pomek pomek deleted the i/17333 branch October 28, 2024 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Release tools - implement a cacheless mechanism
2 participants