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

continue deploying unstable packages even with an error #1393

Merged
merged 1 commit into from
Apr 11, 2023

Conversation

mansona
Copy link
Member

@mansona mansona commented Apr 5, 2023

One of the previous runs of NPM Publish for the unstable packages actually errored: https://github.com/embroider-build/embroider/actions/runs/4610016561/jobs/8147947998

In this case, the logical thing to do would be to rerun the process, but that wouldn't work if the release finished somewhere in the middle of the process because it would fail to deploy the first package again (because that version already exists).

This PR changes the semantics of the deploy step for unstable and it no longer stops on the first error it encounters. This means that we will be able to re-run the process without any issue if we have strange API problems again 👍

Copy link
Collaborator

@NullVoxPopuli NullVoxPopuli left a comment

Choose a reason for hiding this comment

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

lgtm. Only thing I'd change is use console.error, but when running in C.I. anyway, 🤷

@ef4 ef4 merged commit bae3467 into embroider-build:main Apr 11, 2023
@mansona mansona deleted the allow-redeploy-npm branch April 11, 2023 20:29
@ef4 ef4 added the internal label May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants