Skip to content

Semantic versioning

Conventional commits

Commitizen

Install:

pamac install python-commitizen
cz init

In a Python project:

uv add --dev commitizen cz-conventional-gitmoji
uv run cz init

Other commitizen implementations:

Commitizen pre-commit

Linting

pre-commit hooks

Stale:

Changelog management

Stale

Automatic versioning / releasing

Tools

using git log

see also What are some good ways to manage a changelog using Git?

git log --oneline --decorate --no-merges 0.5.0..HEAD | cut -d' ' -f2- | sed 's/^/* /'

old:

git log --pretty=%s --first-parent  0.2.2..HEAD | sed 's/^/* /g'