From 3584fd4adca71c3406783475c7befe3c6f7a3a61 Mon Sep 17 00:00:00 2001 From: SmallMain Date: Fri, 8 Nov 2024 21:50:03 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/index.js b/scripts/index.js index 392af012..fff5242f 100644 --- a/scripts/index.js +++ b/scripts/index.js @@ -415,7 +415,7 @@ if (needUpdateDemo) { const tag = `v${kitVersion}`; let releaseUrl = "(undefined)"; const needPublish = await confirm({ - message: `是否上传至 Github Release?(请先在源码分支创建 '${tag}' Tag)`, + message: `是否上传至 Github Release?(请先在源码分支创建 '${tag}' Tag,可使用命令:'git tag -a ${tag} -m "更新版本号至 ${kitVersion}"',然后使用命令 'git push origin ${tag}' 推送)`, default: true, }); if (needPublish && !DRYRUN) { @@ -481,7 +481,7 @@ if (needPublish) { // 手动发布新版本文档 await confirm({ - message: `请使用命令 npm run docusaurus docs:version 1.1.0 创建新版本文档,并在 docs 目录执行 USE_SSH=true GIT_USER= npm run deploy 发布`, + message: `请使用命令 npm run docusaurus docs:version ${kitVersion} 创建新版本文档,并在 docs 目录执行 USE_SSH=true GIT_USER= npm run deploy 发布`, default: true, });