Skip to content

Commit 8a07aa5

Browse files
DavertMikclaude
andcommitted
ci: --allow-same-version on publish
Same fix as expect-helper: re-triggering a release on the existing tag (or any case where the tag matches package.json) no longer errors with "Version not changed". Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 6597a51 commit 8a07aa5

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
@@ -41,7 +41,7 @@ jobs:
4141
- run: npm install
4242

4343
- name: Set package version from release tag
44-
run: npm version "${{ github.event.release.tag_name }}" --no-git-tag-version
44+
run: npm version "${{ github.event.release.tag_name }}" --no-git-tag-version --allow-same-version
4545

4646
- name: Publish to npm
4747
run: |

0 commit comments

Comments
 (0)