From fe281cfade05762e8e5118fbdd3afa6a3ef5630c Mon Sep 17 00:00:00 2001 From: roymondchen Date: Thu, 14 Jul 2022 20:55:54 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E5=8F=91=E5=B8=83=E5=90=8E=E6=9B=B4?= =?UTF-8?q?=E6=96=B0docs=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/release.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/release.js b/scripts/release.js index 4686ed7e..0ce98e4a 100644 --- a/scripts/release.js +++ b/scripts/release.js @@ -31,6 +31,7 @@ const runIfNotDry = isDryRun ? dryRun : run; const getPkgRoot = (pkg) => path.resolve(__dirname, `../packages/${pkg}`); const getRunTimeRoot = (pkg) => path.resolve(__dirname, `../runtime/${pkg}`); const getPlayground = () => path.resolve(__dirname, `../playground`); +const getDocs = () => path.resolve(__dirname, `../docs`); const step = (msg) => console.log(chalk.cyan(msg)); async function main() { @@ -140,6 +141,7 @@ function updateVersions(version) { packages.forEach((p) => updatePackage(getPkgRoot(p), version)); ['vue3', 'react', 'vue2'].forEach((p) => updatePackage(getRunTimeRoot(p), version)); updatePackage(getPlayground(), version); + updatePackage(getDocs(), version); } function updatePackage(pkgRoot, version) {