Skip to content

Commit

Permalink
doesn't try to commit the new version on publish now
Browse files Browse the repository at this point in the history
  • Loading branch information
mathewmeconry committed Dec 17, 2019
1 parent e4acb27 commit 8f5c04c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
node-version: 12
registry-url: https://registry.npmjs.org/
- name: set npm version according to tag
run: npm version $(git describe --tag)
run: npm version --no-git-tag-version $(git describe --tag)
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
Expand All @@ -58,7 +58,7 @@ jobs:
registry-url: https://npm.pkg.github.com/
scope: '@mathewmeconry'
- name: set npm version according to tag
run: npm version $(git describe --tag)
run: npm version --no-git-tag-version $(git describe --tag)
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 8f5c04c

Please sign in to comment.