ci: Fix "Release: Create Pull Request" workflow

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2023-11-17 14:59:01 +01:00
parent 2d039010db
commit b3a3f16bc2

View file

@ -43,7 +43,7 @@ for (const packageName in packageMap) {
packageJson.version = packageMap[packageName].nextVersion = packageJson.version = packageMap[packageName].nextVersion =
isDirty || isDirty ||
Object.keys(packageJson.dependencies).some( Object.keys(packageJson.dependencies || {}).some(
(dependencyName) => packageMap[dependencyName]?.isDirty, (dependencyName) => packageMap[dependencyName]?.isDirty,
) )
? semver.inc(version, releaseType) ? semver.inc(version, releaseType)