ci: Allow releasing new versions as long as one of the packages is modified (no-changelog)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2023-03-10 13:25:06 +01:00
parent 974d57dfed
commit 69b124fc78

View file

@ -28,7 +28,10 @@ for (let { name, path, version, private: isPrivate, dependencies } of packages)
packageMap[name] = { path, isDirty, version };
}
assert.ok(packageMap['n8n'].isDirty, 'No changes found since the last release');
assert.ok(
Object.values(packageMap).some(({ isDirty }) => isDirty),
'No changes found since the last release',
);
// Keep the monorepo version up to date with the released version
packageMap['monorepo-root'].version = packageMap['n8n'].version;