Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
Fix next tag on pre-release
  • Loading branch information
mfazekas authored Jul 30, 2023
1 parent d81ee70 commit db2cca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ jobs:
- name: Install dependencies and build 🔧
run: npm install --force
- name: Publish package on NPM 📦
run: npm publish ${{ github.event.release.prelease && '--tag next' || ''}}
run: npm publish ${{ github.event.release.prerelease && '--tag next' || ''}}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN_RNMAPBOX }}

0 comments on commit db2cca1

Please sign in to comment.