Skip to content

Commit

Permalink
fix: publish NPM packages with latest tag (#11199)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog authored Oct 2, 2024
1 parent c7b9a53 commit be683e2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .changes/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"pipe": true
},
{
"command": "pnpm publish --access public --loglevel silly --tag next --no-git-checks",
"command": "pnpm publish --access public --loglevel silly --no-git-checks",
"dryRunCommand": "npm publish --dry-run --access public --no-git-checks",
"pipe": true
},
Expand Down
5 changes: 5 additions & 0 deletions .changes/publish-latest-tag.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@tauri-apps/api": patch:changes
---

Publish package with the latest NPM tag.
2 changes: 1 addition & 1 deletion .github/workflows/publish-cli-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ jobs:
- name: Publish
run: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
npm publish --tag next
npm publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}
Expand Down

0 comments on commit be683e2

Please sign in to comment.