mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
ci: Allow releasing new versions as long as one of the packages is modified (no-changelog)
This commit is contained in:
parent
974d57dfed
commit
69b124fc78
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 };
|
||||
}
|
||||
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue