Skip to content

commitizen

leswell edited this page Nov 28, 2025 · 1 revision

What I want to do with commitizen?

  • build commit messages with it interactive prompt
  • automatically bump versions based on commit history
  • follow commitlint settings
  • create git tags & push them (then later github-action will be able to build and publish it)

What I want to solve with other tools

  • validate commit messages: commitlint integration (I already use have a husky git hook for validation)
  • generating CHANGELOG (I use git-cliff for this purpose)

First Problem: commitlint fails because of the bump commit

I am running commitlint locally in husky's commit-msg. I have the standrad @commitlint/config-conventional configured, which is based on the newer angular standard.

Solutions:

  • allow bump commit locally
  • enable CI to bump versions (this way commitlint won't be triggered)
  • configure dynamic versioning based on tags and disable commitizen commits (seems cz has a bug related to this)

Clone this wiki locally