Skip to content

Use Changesets publish flow for releases#12

Merged
jplhomer merged 1 commit into
mainfrom
use-changeset-publish-command
May 19, 2026
Merged

Use Changesets publish flow for releases#12
jplhomer merged 1 commit into
mainfrom
use-changeset-publish-command

Conversation

@jplhomer
Copy link
Copy Markdown
Contributor

Summary

  • update the release script to call changeset publish instead of raw pnpm publish
  • preserve the build step before publishing

Why

When Changesets finds no changesets, it may still invoke the publish command to publish any already-versioned but unpublished packages. The previous raw pnpm publish command retried the current package.json version unconditionally and failed when that version was already on npm. changeset publish checks npm state and no-ops when there is nothing unpublished.

Test

  • pnpm changeset publish --help
  • pnpm build

Co-authored-by: AI (Pi/GPT-5.5) <noreply@pi.dev>
@jplhomer jplhomer merged commit 671807b into main May 19, 2026
13 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.

2 participants