Commitizen committer for all projects
-
Install pre-commit
-
Install the package:
pip3 install git+ssh://git@github.com/sadra/cz-conventional-integrated-with-jira.git@cz_int_jira
-
Add the commitizen hook to your
.pre-commit-config.yaml
:repos: - repo: https://github.com/commitizen-tools/commitizen rev: v2.28.0 # automatically updated by Commitizen hooks: - id: commitizen additional_dependencies: - 'git+ssh://git@github.com/sadra/cz-conventional-integrated-with-jira.git@cz_int_jira' stages: [commit-msg]
-
Update the hook if necessary:
Until we start tagging components, you might need to clear your pre-commit cache and reinstall the hooks to ensure the latest version is installed:
pre-commit clean pre-commit install --install-hooks
-
Use
cz_int_jira
as the committer in.cz.yaml
:commitizen: name: cz_int_jira update_changelog_on_bump: true version: 0.0.0