New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can Lerna bump prerelease version according to the Conventional Commits specification? #2536
Comments
@evocateur ☝;) |
It looks like a feature, I think you are supposed to use the you have to go through the lerna versioning commands
now you will see that all the changes made it in your
|
I found the same issue with one of my monorepo using Lerna
only bump patch. When I tried in newly create repository, using the same command it bumps correctly as per convention. Strange. Did you find the solution ? |
it seems bump up prerelease according to |
|
Hi,
Sorry for cross-posting (here and on Stack Overflow) but I just want to understand whether this is a bug or by design.
I have two Lerna-managed monorepos (both in independent mode), with three sub-packages each. One repo is in a "production" state (i.e.
1.0.0
) the other is in a "prerelease" state (i.e.1.0.0-alpha.0
):I then make the following commits in both repositories: (commits follow the Conventional Commits specification)
And run this command in both repositories:
Expected Behavior
In the "production" repo, I can see the following versions
In the "prerelease" repo, I can see the following versions
Current Behavior
The "production" repo is updated as expected, however in the "prerelease" repo versions are updated as follow:
Steps to Reproduce (for bugs)
I made a Minimal Reproducible Example.
I have dockerized this; you literally just need to clone the repo and follow the instructions ;)
Your Environment
The Minimal Reproducible Example mentioned above runs in a Docker container:
lerna --version
npm --version
yarn --version
node --version
The text was updated successfully, but these errors were encountered: