Skip to content

fix(release): validate lockfile before publishing - #368

Merged
chrispader merged 1 commit into
mainfrom
@chrispader/fix/release-lockfile-prepublish
Sep 18, 2026
Merged

chrispader merged 1 commit into
mainfrom
@chrispader/fix/release-lockfile-prepublish

Conversation

@chrispader

Copy link
Copy Markdown
Member

The 9.8.2 release published both npm packages before checking the final workspace lockfile. Bun left local dependency references at 9.8.1, so the release stopped after publication and before its Git tag and GitHub release. This PR bumps and validates all release manifests before publishing, synchronizes only local workspace references that Bun leaves stale, and keeps the final Git and GitHub steps after publication. It also tests the preflight failure path and pins the CI Bun version to the declared package-manager version.

Reproduction

In the 9.8.2 release, both package publications succeeded. The final lockfile check then found three workspace dependency entries still at 9.8.1 even though their manifests had been bumped to 9.8.2.

@vercel

vercel Bot commented Sep 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
react-native-nitro-sqlite Ready Ready Preview Sep 18, 2026 1:43pm UTC

Request Review

@chrispader
chrispader merged commit cbdf9d8 into main Sep 18, 2026
9 checks passed
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.

1 participant