ci: 解决 release 异常

This commit is contained in:
winixt 2022-11-10 19:18:22 +08:00
parent 104571b2a4
commit e7d6d94e92

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