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

Fix race condition with publish #51105

Merged
merged 1 commit into from Jun 10, 2023
Merged

Fix race condition with publish #51105

merged 1 commit into from Jun 10, 2023

Conversation

ijjk
Copy link
Member

@ijjk ijjk commented Jun 10, 2023

We publish multiple packages in parallel which can cause issues with the prepublish only script running as turbo clearing/restoring dist caches can causing files to be missing if a publish is in progress. We also don't need to run these as all packages are already built prior to publishing. This also includes fixes for release stats.

@ijjk ijjk requested a review from a team as a code owner June 10, 2023 20:56
@ijjk ijjk added the created-by: Next.js team PRs by the Next.js team label Jun 10, 2023
@vercel-spaces vercel-spaces bot requested a review from timneutkens June 10, 2023 20:56
@ijjk ijjk merged commit efaddcd into canary Jun 10, 2023
15 of 29 checks passed
@ijjk ijjk deleted the fix/publish-race branch June 10, 2023 21:05
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
created-by: Next.js team PRs by the Next.js team locked
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant