Skip to content

Commit 21c5d45

Browse files
authored
fix(ci): use the correct commit message when bumping packages MONGOSH-1871 (#2333)
bump-packages from monorepo-tools is looking for chore(ci): bump packages as the start of the commit to calculate the semver bump. The problem is that our commit message doesn't start with this - instead it's chore(release): bump auxiliary packages. This means that the next time we run it, we go back to the start of time and sure enough, we find some breaking commit message and decide we need to bump major. Luckily there's a LAST_BUMP_COMMIT_MESSAGE we can use to set this, so this does that.
1 parent 9e7d980 commit 21c5d45

File tree

1 file changed

+1
-0
lines changed
  • packages/build/src/npm-packages

1 file changed

+1
-0
lines changed

packages/build/src/npm-packages/bump.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ export function bumpAuxiliaryPackages() {
9595
encoding: 'utf8',
9696
env: {
9797
...process.env,
98+
LAST_BUMP_COMMIT_MESSAGE: 'chore(release): bump auxiliary packages',
9899
SKIP_BUMP_PACKAGES: [
99100
...EXCLUDE_RELEASE_PACKAGES,
100101
...MONGOSH_RELEASE_PACKAGES,

0 commit comments

Comments
 (0)