Skip to content

Commit d5ce975

Browse files
Blackman99claude
andcommitted
fix(ci): allow same version in npm publish workflow
Add --allow-same-version flag to handle cases where package.json already matches the release tag version. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a3de324 commit d5ce975

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
VERSION="${TAG#v}"
3737
echo "Publishing version: $VERSION"
3838
cd packages/react
39-
npm version "$VERSION" --no-git-tag-version
39+
npm version "$VERSION" --no-git-tag-version --allow-same-version
4040
4141
- name: Publish
4242
run: pnpm --filter @trustin/txgraph publish --no-git-checks --access public

0 commit comments

Comments
 (0)