Open KL13NT opened 3 years ago
This seems to be affecting more than just me.
For everyone else with the same issue:
Make sure you have all tags correctly parsed by standard-version (For me the problem was that a team member forgot to push the tag of the previous version)
npm install -g git-semver-tags
and run it inside your project to get a list of parsed tags: git-semver-tags
git push origin --tags
npx standard-version --verbose
. Maybe it helps.
Describe the bug When running
standard-version
after committing a bunch offix
commits the package uses old BREAKING commits and produces a new MAJOR version.Expected behavior It should only bump the PATCH part of the version.
Environment
standard-version
version(s): masterAdditional context I'm using commitizen and commitlint to keep my commits as close to the angular format as possible. Reproducible behavior is available here.
npm install
npm run release
v2.0.0
tov2.1.0
it bumps tov3.0.0
npm run release
againv4.0.0
, and so on