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
Copy file name to clipboardExpand all lines: docs/customization.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -142,7 +142,7 @@ You can customize it of course, and this are the variables you need to add to yo
142
142
|`commit_parser`|`str`| NO | Regex which should provide the variables explained in the [changelog description][changelog-des]|
143
143
|`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 |
144
144
|`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 |
145
-
|`message_hook`|`method: (dict, git.GitCommit) -> dict`| NO | Customize with extra information your message output, like adding links, this function is executed per parsed commit. |
145
+
|`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. |
146
146
|`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 |
147
147
148
148
```python
@@ -160,7 +160,7 @@ class StrangeCommitizen(BaseCommitizen):
0 commit comments