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
We have a setup of two branches: main and development. The development branch is used to push latest changes and triggers version updates like so:
npx lerna version --conventional-commits --conventional-prerelease --preid dev --yes
The command is working great, as expected. However once we are done with our desired changes, we want to push the development branch into the main branch, which afterwards trigger the following command:
npx lerna version --conventional-commits --conventional-graduate --yes
However, the command even though is referencing the right latest release tag - is not picking up the changelog correctly and as a result dumps into the changelog the following message:
0.9.0
Note: Version bump only for package @fee/foo
Expected Behavior
We are expecting the command to pick all the changes since the last main's branch tag that were merged and generate changelog which consists of semantic commit messages:
0.9.0
Features
* Added foo feature
* Added fee feature
Current Behavior
We have a setup of two branches: main and development. The development branch is used to push latest changes and triggers version updates like so:
The command is working great, as expected. However once we are done with our desired changes, we want to push the development branch into the main branch, which afterwards trigger the following command:
However, the command even though is referencing the right latest release tag - is not picking up the changelog correctly and as a result dumps into the changelog the following message:
Expected Behavior
We are expecting the command to pick all the changes since the last main's branch tag that were merged and generate changelog which consists of semantic commit messages:
Steps to Reproduce
I have created a test repository which you should be able to access here: https://github.com/gbublys/semantic-versioned-monorepo-setup
Steps to reproduce:
Failure Logs / Configuration
Example PR to development branch: gbublys/semantic-versioned-monorepo-setup#61
CI configuration: https://github.com/gbublys/semantic-versioned-monorepo-setup/blob/development/.github/workflows/semantic-release.yml
CI output:
https://github.com/gbublys/semantic-versioned-monorepo-setup/actions/runs/8881360581/job/24383510550
Merge develop with above change into the main branch:
gbublys/semantic-versioned-monorepo-setup#62
CI Output:
https://github.com/gbublys/semantic-versioned-monorepo-setup/actions/runs/8881395704/job/24383627626
Generated changelog:
Environment
Github and repository mentioned above
The text was updated successfully, but these errors were encountered: