Skip to content

Commit

Permalink
fix version package.json replace
Browse files Browse the repository at this point in the history
  • Loading branch information
fxck committed Oct 7, 2020
1 parent 71fb662 commit 051f635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
registry-url: https://registry.npmjs.org/
- run: npm ci --ignore-scripts
- run: npm i -g replace-in-files-cli
- run: replace-in-files --string='v0.0.0-zerops' --replacement='${{ github.event.release.tag_name }}' package.json
- run: replace-in-files --string='v0.0.0-zerops' --replacement='v${{ github.event.release.tag_name }}' package.json
- run: npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit 051f635

Please sign in to comment.