From 721828e248281065d653cbf5788ccf914bfa2f71 Mon Sep 17 00:00:00 2001 From: SmallMain Date: Mon, 28 Oct 2024 10:22:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=87=AA=E5=8A=A8=E5=8F=91?= =?UTF-8?q?=E5=B8=83=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/index.js b/scripts/index.js index 36a99995..21194fbd 100644 --- a/scripts/index.js +++ b/scripts/index.js @@ -307,7 +307,7 @@ if (extensionPath) { if (!DRYRUN) { const sourceZipFile = new Zip(); readdirSync(extensionPath, { withFileTypes: true }) - .filter(v => v.name !== "packages") + .filter(v => v.name !== "packages" && v.name !== ".git") .forEach(v => { const path = join(v.path, v.name); console.log("正在压缩", path); @@ -474,8 +474,8 @@ if (needPublish) { // 手动发布新版本文档 await confirm({ - message: `请使用命令 npm run docusaurus docs:version 1.1.0 创建新版本文档,并在 docs 目录执行 GIT_USER= npm run deploy 发布`, + message: `请使用命令 npm run docusaurus docs:version 1.1.0 创建新版本文档,并在 docs 目录执行 USE_SSH=true GIT_USER= npm run deploy 发布`, default: true, }); -rmSync(masterTempPath, { recursive: true, force: true }); +// rmSync(masterTempPath, { recursive: true, force: true });