Skip to content

Commit 8f5c04c

Browse files
committed
doesn't try to commit the new version on publish now
1 parent e4acb27 commit 8f5c04c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/npmpublish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
node-version: 12
4343
registry-url: https://registry.npmjs.org/
4444
- name: set npm version according to tag
45-
run: npm version $(git describe --tag)
45+
run: npm version --no-git-tag-version $(git describe --tag)
4646
- run: npm publish
4747
env:
4848
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
@@ -58,7 +58,7 @@ jobs:
5858
registry-url: https://npm.pkg.github.com/
5959
scope: '@mathewmeconry'
6060
- name: set npm version according to tag
61-
run: npm version $(git describe --tag)
61+
run: npm version --no-git-tag-version $(git describe --tag)
6262
- run: npm publish
6363
env:
6464
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)