sourcefuse/loopback4-microservice-catalog

lerna not publishing major version for few packages

Closed this issue · 2 comments

Describe the bug
The CustomPreset in lerna not publishing major version for few packages
we use the following property in lerna.json
"changelogPreset": "custom-sf-changelog",
as per this the version bump should be major where there are changes in migrations or BREAKING CHANGE in the commit footer message.

Few services are properly versioned and released eg. @sourceloop/authentication-service
while some only reflect the minor version bump -- corresponding to feature eg. @sourceloop/user-tenant-service

Reference PR - #2047
Reference Release - 3ddb407

To Reproduce
Steps to reproduce the behavior:

  1. Raise a PR in multiple services
  2. It should be a BREAKING CHANGE
  3. Merge the PR
  4. Release the changes.
  5. Observe the newly released packages.

Expected behavior
All should have similar major version bump.

This is not an issue from our end
even though there is a BREAKING CHANGE in the pre-release versions i.e. 0.y.z, lerna does not graduate it to a stable version. --conventional-graduate flag is available to move it to a stable version.

No changes needed from our end.