diff --git a/.changes/config.json b/.changes/config.json index cfd8f3c05..dbd4bc8b8 100644 --- a/.changes/config.json +++ b/.changes/config.json @@ -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 }, diff --git a/.changes/publish-latest-tag.md b/.changes/publish-latest-tag.md new file mode 100644 index 000000000..5a5599152 --- /dev/null +++ b/.changes/publish-latest-tag.md @@ -0,0 +1,5 @@ +--- +"@tauri-apps/api": patch:changes +--- + +Publish package with the latest NPM tag. diff --git a/.github/workflows/publish-cli-js.yml b/.github/workflows/publish-cli-js.yml index 93900949f..995805b8b 100644 --- a/.github/workflows/publish-cli-js.yml +++ b/.github/workflows/publish-cli-js.yml @@ -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 }}