You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If lerna version --conventional-commits doesn't depend on releaseType to tell if a release version or changelog is required, but always releases a patch version, then I'd say it's completely unavailable on CI.
Because you can't assume that any commit requires a release version, e.g. chore, docs, etc.
I think #3362 is not released yet that is why the behavior is not inlcuded in 6.0.3. I tried it with a locally built version and I get following bumps:
Current Behavior
Lerna has done a very good job in all aspects, but the version bumping and difference analysis are a bit unsatisfactory.
Here is our file structure:
We set
changelogPreset: "conventionalcommits"
and deliberately tested the following commits:packages/css
and commit withchore: css
packages/vite
and commit withfeat: vite
packages/compiler
and commit withfix: compiler
Execute
lerna version
inbeta
branch:Related Issues & Problems:
Expected Behavior
Since the title of the
@master/css
commit is prefixed withchore:
, it should not bump a patch version.Version bumpings should follow the conventions of changesets and semantic-releases.
If
lerna version --conventional-commits
doesn't depend onreleaseType
to tell if a release version or changelog is required, but always releases a patch version, then I'd say it's completely unavailable on CI.Because you can't assume that any commit requires a release version, e.g.
chore
,docs
, etc.Using lerna instead of changesets and semantic-releases is one step away!
Steps to Reproduce
https://github.com/master-co/css/tree/beta
As above, try modifying some files and adding comments:
Failure Logs / Configuration
lerna.json
package.json
Environment
The text was updated successfully, but these errors were encountered: