You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `info` | `str` | `None` | (OPTIONAL) Explanation of the commit rules. Used by `cz info`. |
147
150
| `bump_map` | `dict` | `None` | (OPTIONAL) Dictionary mapping the extracted information to a `SemVer` increment type (`MAJOR`, `MINOR`, `PATCH`) |
148
151
| `bump_pattern` | `str` | `None` | (OPTIONAL) Regex to extract information from commit (subject and body) |
152
+
| `change_type_order`| `str` | `None` | (OPTIONAL) List of strings used to order the Changelog. All other types will be sorted alphabetically. Default is `["BREAKING CHANGE", "feat", "fix", "refactor", "perf"]` |
149
153
150
154
#### Detailed `questions` content
151
155
@@ -298,7 +302,7 @@ You can customize it of course, and this are the variables you need to add to yo
|`commit_parser`|`str`| NO | Regex which should provide the variables explained in the [changelog description][changelog-des]|
301
-
|`changelog_pattern`|`str`| NO | Regex to validate the commits, this is useful to skip commits that don't meet your rulling standards like a Merge. Usually the same as bump_pattern |
305
+
|`changelog_pattern`|`str`| NO | Regex to validate the commits, this is useful to skip commits that don't meet your ruling standards like a Merge. Usually the same as bump_pattern|
302
306
|`change_type_map`|`dict`| NO | Convert the title of the change type that will appear in the changelog, if a value is not found, the original will be provided |
303
307
|`changelog_message_builder_hook`|`method: (dict, git.GitCommit) -> dict`| NO | Customize with extra information your message output, like adding links, this function is executed per parsed commit. Each GitCommit contains the following attrs: `rev`, `title`, `body`, `author`, `author_email`|
304
308
|`changelog_hook`|`method: (full_changelog: str, partial_changelog: Optional[str]) -> str`| NO | Receives the whole and partial (if used incremental) changelog. Useful to send slack messages or notify a compliance department. Must return the full_changelog |
0 commit comments