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:
- Raise a PR in multiple services
- It should be a BREAKING CHANGE
- Merge the PR
- Release the changes.
- 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.