安装 pipx
pip install --user pipx
python -m pipx ensurepath # 自动将pipx加入环境变量
用 pipx 全局安装
pipx install commitizen
使用 commitizen 生成changelog
cz init
// update codes
git add .
cz commit
cz bump
cz changelog # 可选, 单独生成或更新 changelog 文件
cz version --project # 查看当前项目版本
git push
git push origin --tags