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
{{ message }}
Repository navigation
Commit 6585f2c
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/customization/config_file.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -160,7 +160,7 @@ Example:
160
160
|`schema_pattern`|`str`|`""`| (OPTIONAL) The regular expression used to do commit message validation. Used by `cz check`. |
161
161
|`info_path`|`str`|`""`| (OPTIONAL) The path to the file that contains explanation of the commit rules. Used by `cz info`. If not provided `cz info`, will load `info` instead. |
162
162
|`info`|`str`|`""`| (OPTIONAL) Explanation of the commit rules. Used by `cz info`. |
163
-
|`bump_map`|`dict`|`None`| (OPTIONAL) Dictionary mapping the extracted information to a `SemVer` increment type (`MAJOR`, `MINOR`, `PATCH`)|
163
+
|`bump_map`|`dict`|`None`| (OPTIONAL) Dictionary mapping the extracted information to a `SemVer` increment type (`MAJOR`, `MINOR`, `PATCH`). In JSON and YAML configs, `null` keeps a matched rule from bumping the version.|
164
164
|`bump_pattern`|`str`|`None`| (OPTIONAL) Regex to extract information from commit (subject and body) |
165
165
|`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"]`|
166
166
|`commit_parser`|`str`|`None`| (OPTIONAL) Regex to extract information used in creating changelog. [See more][changelog-spec]|
|`bump_pattern`|`str`|`None`| Regex to extract information from commit (subject and body) |
102
-
|`bump_map`|`dict`|`None`| Dictionary mapping the extracted information to a `SemVer` increment type (`MAJOR`, `MINOR`, `PATCH`) |
102
+
|`bump_map`|`dict`|`None`| Dictionary mapping the extracted information to a `SemVer` increment type (`MAJOR`, `MINOR`, `PATCH`). Use `None` when a matched rule should not bump the version.|
0 commit comments