Closed
Description
Description
The default value for change_type_order
uses lower-case "feat", "perf", etc instead of "Feat", "Perf", and is therefore ignored in changelog output
Steps to reproduce
mkdir /tmp/cztest && cd /tmp/cztest
git init
touch foo && git add foo && git commit -m "feat: first commit"
touch foo2 && git add foo2 && git commit -m "perf: second commit"
cz ch --dry-run
echo -e "[tool.commitizen]\nchange_type_order = [\"Feat\", \"Perf\"]" > pyproject.toml
cz ch --dry-run
Current behavior
The default change_type_order is ineffective and pre #323 LIFO ordering is used in the changelog
Desired behavior
Changelog sections should be ordered according to https://github.com/commitizen-tools/commitizen/blob/master/commitizen/defaults.py#L43
Environment
- commitizen version: 2.17.12
- python version: 3.6.9
- operating system: Linux