Skip to content

Commit

Permalink
Removing RELEASE_TAG var
Browse files Browse the repository at this point in the history
  • Loading branch information
cb1kenobi committed Jul 2, 2024
1 parent e1add99 commit 61ce1cd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 18
registry-url: 'https://registry.npmjs.org/'

- name: Install pnpm
uses: pnpm/action-setup@v2
Expand All @@ -32,5 +31,4 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
RELEASE_TAG: ${{ github.event.release.prerelease && 'next' || 'latest' }}
run: npm publish --tag $RELEASE_TAG
run: npm publish --tag ${{ github.event.release.prerelease && 'next' || 'latest' }}

0 comments on commit 61ce1cd

Please sign in to comment.