Skip to content

Commit 6440915

Browse files
csandmanclaude
andcommitted
fix(publish): Allow same version in version-align step
The `npm version` align step errors with "Version not changed" when package.json already matches the tag. Since `pnpm version` bumps package.json AND creates the tag in one operation, they always match by the time CI runs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 8ec8df2 commit 6440915

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
@@ -70,7 +70,7 @@ jobs:
7070
run: pnpm build
7171

7272
- name: Align package.json version with release tag
73-
run: npm version $TAG_NAME --git-tag-version=false
73+
run: npm version $TAG_NAME --git-tag-version=false --allow-same-version
7474
env:
7575
TAG_NAME: ${{ github.ref_name }}
7676

0 commit comments

Comments
 (0)