Skip to content

Commit

Permalink
Run git pull before cutting a release
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed Oct 1, 2023
1 parent 977c60c commit 660e82a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/cm.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,8 @@ function release(...args) {
}
if (!pkgName || !(pkg = packageNames[pkgName])) help(1)

run("git", ["pull"], pkg.dir)

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

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

0 comments on commit 660e82a

Please sign in to comment.