Skip to content

Conversation

sjungling
Copy link
Member

  • fix: sync version from semantic-release to dist package.json
  • fix: add semantic-release npm plugin to update package.json version

The npm publish was failing because semantic-release wasn't updating the
package.json version. Added @semantic-release/npm plugin configured with
npmPublish:false to only update the version, while keeping the manual
npm publish from dist/ directory with trusted publishing.

Also added --allow-same-version flag to npm version command to prevent
errors when versions already match.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@sjungling sjungling merged commit 4f02af9 into main Sep 24, 2025
3 checks passed
@sjungling sjungling deleted the fix/releasering branch September 24, 2025 00:01
github-actions bot pushed a commit that referenced this pull request Sep 24, 2025
## [4.1.2](v4.1.1...v4.1.2) (2025-09-24)

### Bug Fixes

* add semantic-release npm plugin to update package.json version ([#5](#5)) ([4f02af9](4f02af9))
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