Skip to content

fix: add changeset publish to release script#18

Merged
Jing-yilin merged 1 commit into
mainfrom
hotfix/release-publish
Mar 25, 2026
Merged

fix: add changeset publish to release script#18
Jing-yilin merged 1 commit into
mainfrom
hotfix/release-publish

Conversation

@Jing-yilin
Copy link
Copy Markdown
Contributor

Problem

The release workflow ran successfully on this CI run after merging version packages PR #17, but no GitHub release or npm publish happened for v0.2.2.

Root cause: The release script in package.json was npm run build (just tsc), which never called changeset publish to actually publish to npm and create git tags for GitHub releases.

Fix

Change the release script from:

"release": "npm run build"

to:

"release": "npm run build && changeset publish"

This ensures the changesets/action publish step actually pushes the package to npm and creates the GitHub release tags.

After merging

Re-run the release workflow (workflow_dispatch) to publish the missed v0.2.2 release.

The release script only ran `npm run build` (tsc) without actually
publishing to npm. This caused the changesets/action to succeed without
creating a GitHub release or publishing v0.2.2 to the registry.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
@Jing-yilin Jing-yilin merged commit bf525dd into main Mar 25, 2026
1 check failed
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