mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
ci: Allow releasing new versions as long as one of the packages is modified (no-changelog)
This commit is contained in:
5
.github/scripts/bump-versions.mjs
vendored
5
.github/scripts/bump-versions.mjs
vendored
@@ -28,7 +28,10 @@ for (let { name, path, version, private: isPrivate, dependencies } of packages)
|
|||||||
packageMap[name] = { path, isDirty, version };
|
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
|
// Keep the monorepo version up to date with the released version
|
||||||
packageMap['monorepo-root'].version = packageMap['n8n'].version;
|
packageMap['monorepo-root'].version = packageMap['n8n'].version;
|
||||||
|
|||||||
Reference in New Issue
Block a user