Skip to content

Commit 8d63919

Browse files
committed
Disable bumping of versions in other packages
1 parent 6f906d1 commit 8d63919

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bin/cm.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,9 @@ function release(...args) {
232232

233233
let {changes, newVersion} = doRelease(pkg, setVersion, {edit})
234234

235-
if (mainVersion.exec(newVersion)[0] != mainVersion.exec(version(pkg))[0]) {
235+
// Turned off for now, since this creates a huge mess on accidental
236+
// major version bumps. Maybe add a manual utility for it?
237+
if (false && mainVersion.exec(newVersion)[0] != mainVersion.exec(version(pkg))[0]) {
236238
let updated = updateDependencyVersion(pkg, newVersion)
237239
if (updated.length) console.log(`Updated dependencies in ${updated.map(p => p.name).join(", ")}`)
238240
}

0 commit comments

Comments
 (0)