Skip to content

Commit 88cdcac

Browse files
guguclaude
andcommitted
Derive package version from git tag in release workflow
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4debc6d commit 88cdcac

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,6 @@ jobs:
4343
cache: 'npm'
4444
- run: npm ci
4545
- run: npm run prepare
46+
- name: Set version from tag
47+
run: npm version "${GITHUB_REF_NAME#v}" --no-git-tag-version
4648
- run: npm publish --provenance --access public

0 commit comments

Comments
 (0)