fix: auto-sync version from release tag in publish workflow
This commit is contained in:
3
.github/workflows/publish.yml
vendored
3
.github/workflows/publish.yml
vendored
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user