Skip to content

Commit

Permalink
Update publish_npm.yml
Browse files Browse the repository at this point in the history
`npm publish --tag {text}` is not meant for version number, but rather for `latest`, `rc`, `pr`, etc
  • Loading branch information
JakeWags authored Jun 18, 2024
1 parent 4d14744 commit 98f18d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish_npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ jobs:
id: get_tag
run: echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
- name: Change directory and publish
run: cd packages/upset && npm publish --tag ${{ steps.get_tag.outputs.TAG }}
run: cd packages/upset && npm publish --tag latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 98f18d8

Please sign in to comment.