diff options
author | Gergely Nagy <gergely.nagy@arm.com> | 2024-02-14 17:27:16 +0000 |
---|---|---|
committer | Gergely Nagy <gergely.nagy@arm.com> | 2024-04-04 18:06:31 +0100 |
commit | 92452bda7dd8268fb9eb6022090187d779914bbf (patch) | |
tree | e548c213a08fb9b3d6ad1ec0b7c6ba82b8c08029 | |
parent | 1ebb335cba516bcf973b041efa6a9878d1022b93 (diff) | |
download | mlia-92452bda7dd8268fb9eb6022090187d779914bbf.tar.gz |
build: Fix changelog generation with missing commit types
Update commitizen config to include all the commit types into the changelog,
that are currently accepted by the commit message verification.
Change-Id: Iffc975bff9c44ea202b109bd488ba1c9d5e19bd6
-rw-r--r-- | pyproject.toml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyproject.toml b/pyproject.toml index 0c4cc8c..cf2db54 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -90,6 +90,6 @@ update_changelog_on_bump = true schema_pattern = "(?s)(build|ci|docs|feat|fix|perf|refactor|style|test)(\\(\\S+\\))?!?:( [A-Z][^\\n\\r]+)((\\n\\n.*)|(\\s*))?$" schema = "<type>(<scope>): <Subject-capitalized>\n<BLANK LINE>\n<body>\n<BLANK LINE>\n(BREAKING CHANGE: )<footer>" # Commit parser is used to render the commits for RELEASES.md -commit_parser = "^((?P<change_type>feat|fix|refactor|perf|BREAKING CHANGE)(?:\\((?P<scope>[^()\\r\\n]*)\\)|\\()?(?P<breaking>!)?|\\w+!):\\s(?P<message>.*)?" +commit_parser = "^((?P<change_type>build|ci|docs|feat|fix|perf|refactor|style|test|BREAKING CHANGE)(?:\\((?P<scope>[^()\\r\\n]*)\\)|\\()?(?P<breaking>!)?|\\w+!):\\s(?P<message>.*)?" # Change type map to render the title for that category as per {tag:title} -change_type_map = {'feat' = 'Feature changes', 'fix' = 'Bug fix', 'perf' = 'Performance improvements'} +change_type_map = {'feat' = 'Feature changes', 'fix' = 'Bug fix', 'perf' = 'Performance improvements', 'build' = 'Development changes'} |