diff --git a/.github/scripts/bump-versions.mjs b/.github/scripts/bump-versions.mjs index da45c92a80..c1c110272c 100644 --- a/.github/scripts/bump-versions.mjs +++ b/.github/scripts/bump-versions.mjs @@ -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;