Skip to content

Commit be683e2

Browse files
authored
fix: publish NPM packages with latest tag (#11199)
1 parent c7b9a53 commit be683e2

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.changes/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
"pipe": true
108108
},
109109
{
110-
"command": "pnpm publish --access public --loglevel silly --tag next --no-git-checks",
110+
"command": "pnpm publish --access public --loglevel silly --no-git-checks",
111111
"dryRunCommand": "npm publish --dry-run --access public --no-git-checks",
112112
"pipe": true
113113
},

.changes/publish-latest-tag.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@tauri-apps/api": patch:changes
3+
---
4+
5+
Publish package with the latest NPM tag.

.github/workflows/publish-cli-js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ jobs:
382382
- name: Publish
383383
run: |
384384
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
385-
npm publish --tag next
385+
npm publish
386386
env:
387387
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
388388
NPM_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}

0 commit comments

Comments
 (0)