favware / cliff-jumper

CLI tool to create a semantic release, git-cliff powered Changelog, and releases to GitHub all in one
MIT License
44 stars 4 forks source link

request: Add an option to skip certain commits processing #200

Closed ckohen closed 2 weeks ago

ckohen commented 2 months ago

Is there an existing issue or pull request for this?

Feature description

In a monorepo setting, sometimes you need to pin a version of a package because you are making breaking changes to it and do not want to break the dependent package. Currently, if you do this in the same commit (often via squashed PR), it will erroneously bump the major version of the package you intentionally didn't break.

Desired solution

An option similar to git-cliff's --skip-commit that allows you to skip processing of commits that fall into this category.

Alternatives considered

If possible, a separate commit can be made before the breaking one that eliminates the breaking one touching the dependent package. If the PR / commit has already been made, then manually bumping the version.

Additional context

No response