fix: auto-sync version from release tag in publish workflow

This commit is contained in:
Badri Narayanan S
2025-12-26 00:31:15 +05:30
parent de873d5057
commit 6504d77279

View File

@@ -20,6 +20,9 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm ci
- name: Update version from release tag
run: npm version ${{ github.event.release.tag_name }} --no-git-tag-version --allow-same-version
- name: Publish to npm - name: Publish to npm
run: npm publish run: npm publish
env: env: