Skip to content

fix(ci): run the Changesets version script explicitly - #40

Merged
stevan-borus merged 1 commit into
mainfrom
fix/changesets-version-command
Oct 29, 2026
Merged

stevan-borus merged 1 commit into
mainfrom
fix/changesets-version-command

Conversation

@stevan-borus

@stevan-borus stevan-borus commented Oct 29, 2026 •

Copy link
Copy Markdown
Owner

The release workflow opened an empty version PR because pnpm version runs pnpm's built-in command instead of this package's version script. Use pnpm run version so Changesets actually bumps the package, writes the changelog and consumes pending changesets.

Validation: reproduced the original command printing 1.1.0 without changing files; the corrected command generated 1.1.1, generated CHANGELOG.md and consumed the pending patch changeset. Generated files were restored so the automated workflow performs the release. Biome and whitespace checks passed. No changeset is needed for this CI-only change.

Implementation: GPT-6.1-Sol via Codex in T3 Code; reviews by GPT-6.1-Sol and Claude Opus 5.5.

pnpm version invokes the built-in version command and leaves the pending changeset untouched, producing an empty release PR. Invoke the package script explicitly so Changesets updates the version and changelog before publishing.
@stevan-borus
stevan-borus merged commit dd39f86 into main Oct 29, 2026
1 check 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