Skip to content

Commit 660e82a

Browse files
committed
Run git pull before cutting a release
1 parent 977c60c commit 660e82a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bin/cm.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,8 @@ function release(...args) {
225225
}
226226
if (!pkgName || !(pkg = packageNames[pkgName])) help(1)
227227

228+
run("git", ["pull"], pkg.dir)
229+
228230
let {changes, newVersion} = doRelease(pkg, setVersion, {edit})
229231

230232
// Turned off for now, since this creates a huge mess on accidental

0 commit comments

Comments
 (0)