Эх сурвалжийг харах

fix: publish NPM packages with latest tag (#11199)

Lucas Fernandes Nogueira 10 сар өмнө
parent
commit
be683e2ac3

+ 1 - 1
.changes/config.json

@@ -107,7 +107,7 @@
           "pipe": true
           "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",
           "dryRunCommand": "npm publish --dry-run --access public --no-git-checks",
           "pipe": true
           "pipe": true
         },
         },

+ 5 - 0
.changes/publish-latest-tag.md

@@ -0,0 +1,5 @@
+---
+"@tauri-apps/api": patch:changes
+---
+
+Publish package with the latest NPM tag.

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

@@ -382,7 +382,7 @@ jobs:
       - name: Publish
       - name: Publish
         run: |
         run: |
           echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
           echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
-          npm publish --tag next
+          npm publish
         env:
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
           NPM_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}
           NPM_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}