From e7d6d94e92148c3e89f1437fa77ad47d5c8bd5b3 Mon Sep 17 00:00:00 2001 From: winixt Date: Thu, 10 Nov 2022 19:18:22 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E8=A7=A3=E5=86=B3=20release=20=E5=BC=82?= =?UTF-8?q?=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/release.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release.mjs b/scripts/release.mjs index 6ac03c2b..96e4e5a2 100644 --- a/scripts/release.mjs +++ b/scripts/release.mjs @@ -164,7 +164,7 @@ async function createPackageNewVersion(pkg) { } function genOtherPkgsVersion(packagesVersion) { - const noChangedPkgs = packages.filter((name) => !packagesVersion.find((item) => item.name === name)); + const noChangedPkgs = packages.filter((name) => !packagesVersion.find((item) => item.dirName === name)); const pkgs = arrToObj(packagesVersion, 'name'); const result = []; noChangedPkgs.forEach((currentPkg) => {