Skip to content

Commit

Permalink
Remove no-git-tag in yarn publish
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielHZhang committed Oct 23, 2020
1 parent 75293b5 commit c0264f0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
yarn build
yarn test
- name: Upgrade version in package.json to release tag version
run: yarn version --new-version ${{ github.event.release.tag_name }} --no-git-tag-version
run: yarn version --new-version ${{ github.event.release.tag_name }}
- name: Publish to NPM via auth token
run: yarn publish
env:
Expand All @@ -44,8 +44,3 @@ jobs:
env:
# GITHUB_TOKEN is automatically provided by actions.
github-token: ${{ secrets.GITHUB_TOKEN }}
# # Create a local variable containing the pushed tag name
# # (extracted from "refs/tags/{{tagName}}" via parameter expansion)
# - name: Set output
# id: vars
# run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}

0 comments on commit c0264f0

Please sign in to comment.