ci: 解决 release 异常

This commit is contained in:
winixt 2022-11-10 19:18:22 +08:00
parent 407f3d2fec
commit cb855cedcf

View File

@ -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) => {