mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-02-06 13:57:16 +00:00
fix: publish NPM packages with latest tag (#11199)
This commit is contained in:
parent
c7b9a53525
commit
be683e2ac3
@ -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
|
||||
},
|
||||
|
||||
5
.changes/publish-latest-tag.md
Normal file
5
.changes/publish-latest-tag.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@tauri-apps/api": patch:changes
|
||||
---
|
||||
|
||||
Publish package with the latest NPM tag.
|
||||
2
.github/workflows/publish-cli-js.yml
vendored
2
.github/workflows/publish-cli-js.yml
vendored
@ -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 }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user