Skip to content

Commit

Permalink
Don't create git-tag with npm version command
Browse files Browse the repository at this point in the history
  • Loading branch information
saehun committed Oct 11, 2020
1 parent c473c52 commit dfd0ae5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,11 @@ jobs:
run: |
echo '//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}' >> .npmrc
TAG=$(git describe --tags)
npm version $TAG --
npm config set git-tag-version false
npm version $TAG
npm publish
- name: commit
- name: Bump git version
run: |
git add package.json
git commit -m 'Bump version'
Expand Down

0 comments on commit dfd0ae5

Please sign in to comment.