Skip to content

Commit

Permalink
Fix "Unexpected tag" error (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebstryczek authored Jan 7, 2025
1 parent c96af74 commit 8c635ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jobs:
- run: npm run make

- name: Publish NPM package (regular)
if: !github.event.release.prerelease
if: "!github.event.release.prerelease"
run: |
npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

- name: Publish NPM package (pre-release)
if: github.event.release.prerelease
if: "github.event.release.prerelease"
run: |
npm publish --tag next
env:
Expand Down

0 comments on commit 8c635ca

Please sign in to comment.