浏览代码

fix(api): actually publish with the latest tag (#11219)

we missed one `--tag next` usage in #11199
Lucas Fernandes Nogueira 10 月之前
父节点
当前提交
e968b3d252
共有 2 个文件被更改,包括 6 次插入1 次删除
  1. 5 0
      .changes/api-latest-tag.md
  2. 1 1
      packages/api/package.json

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

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

+ 1 - 1
packages/api/package.json

@@ -38,7 +38,7 @@
   "scripts": {
     "build": "rollup -c --configPlugin typescript",
     "npm-pack": "pnpm build && cd ./dist && npm pack",
-    "npm-publish": "pnpm build && cd ./dist && pnpm publish --access public --loglevel silly --tag next --no-git-checks",
+    "npm-publish": "pnpm build && cd ./dist && pnpm publish --access public --loglevel silly --no-git-checks",
     "ts:check": "tsc --noEmit",
     "eslint:check": "eslint src/**.ts",
     "eslint:fix": "eslint src/**.ts --fix"