diff options
author | Gergely Nagy <gergely.nagy@arm.com> | 2023-12-13 19:07:28 +0000 |
---|---|---|
committer | Gergely Nagy <gergely.nagy@arm.com> | 2024-01-23 12:53:01 +0000 |
commit | 732d8ef0bba9d23c731611dbed25e2e24a8a30d2 (patch) | |
tree | f369a01301e8a4634e232a9b0c21854e22f63b69 /tox.ini | |
parent | 54eec806272b7574a0757c77a913a369a9ecdc70 (diff) | |
download | mlia-732d8ef0bba9d23c731611dbed25e2e24a8a30d2.tar.gz |
build: Integrate Commitizen to check commit messages and generate changelog
The commit messages are checked against the Conventional Commits
(https://www.conventionalcommits.org) specification, along with minor
customizations (eg, capitalized header, some irrelevant commit types removed
Checking messages is integrated into `tox -e lint`.
Changelog generation is integrated into "tox -e changelog", which runs
`cz changelog` command underneath and incrementally updates RELEASES.md.
Change-Id: I86f21f6c78a166d3bb92450a027a2d7e71ce22cf
Signed-off-by: Gergely Nagy <gergely.nagy@arm.com>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -74,3 +74,10 @@ deps = commands = sphinx-apidoc -f -o docs/source src/mlia make --directory docs html + +[testenv:changelog] +description = Generate changelog using Commitizen. +deps = + commitizen==3.13.0 +commands = + cz changelog --file-name RELEASES.md --incremental |