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 4ad1049
Browse filesBrowse the repository at this point in the historyBrowse files
<td>(OPTIONAL) Dictionary mapping the extracted information to a <code>SemVer</code> increment type (<code>MAJOR</code>, <code>MINOR</code>, <code>PATCH</code>)</td>
2391
+
<td>(OPTIONAL) Dictionary mapping the extracted information to a <code>SemVer</code> increment type (<code>MAJOR</code>, <code>MINOR</code>, <code>PATCH</code>). In JSON and YAML configs, <code>null</code> keeps a matched rule from bumping the version.</td>
2392
2392
</tr>
2393
2393
<tr>
2394
2394
<td><code>bump_pattern</code></td>
@@ -2563,7 +2563,7 @@ <h4 id="use_shortcuts-with-cz_customize"><code>use_shortcuts</code> with <code>c
Copy file name to clipboardExpand all lines: customization/config_file/index.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
@@ -161,7 +161,7 @@ commitizen:
161
161
|`schema_pattern`|`str`|`""`| (OPTIONAL) The regular expression used to do commit message validation. Used by `cz check`. |
162
162
|`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. |
163
163
|`info`|`str`|`""`| (OPTIONAL) Explanation of the commit rules. Used by `cz info`. |
164
-
|`bump_map`|`dict`|`None`| (OPTIONAL) Dictionary mapping the extracted information to a `SemVer` increment type (`MAJOR`, `MINOR`, `PATCH`)|
164
+
|`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.|
165
165
|`bump_pattern`|`str`|`None`| (OPTIONAL) Regex to extract information from commit (subject and body) |
166
166
|`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"]`|
167
167
|`commit_parser`|`str`|`None`| (OPTIONAL) Regex to extract information used in creating changelog. [See more](https://commitizen-tools.github.io/commitizen/commands/changelog/)|
<td>Dictionary mapping the extracted information to a <code>SemVer</code> increment type (<code>MAJOR</code>, <code>MINOR</code>, <code>PATCH</code>)</td>
2374
+
<td>Dictionary mapping the extracted information to a <code>SemVer</code> increment type (<code>MAJOR</code>, <code>MINOR</code>, <code>PATCH</code>). Use <code>None</code> when a matched rule should not bump the version.</td>
2375
2375
</tr>
2376
2376
</tbody>
2377
2377
</table>
@@ -2706,7 +2706,7 @@ <h3 id="example">Example<a class="headerlink" href="#example" title="Permanent l
|`bump_pattern`|`str`|`None`| Regex to extract information from commit (subject and body) |
107
+
|`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.|
Copy file name to clipboardExpand all lines: llms-full.txt
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2823,7 +2823,7 @@ commitizen:
2823
2823
| `schema_pattern` | `str` | `""` | (OPTIONAL) The regular expression used to do commit message validation. Used by `cz check`. |
2824
2824
| `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. |
2825
2825
| `info` | `str` | `""` | (OPTIONAL) Explanation of the commit rules. Used by `cz info`. |
2826
-
| `bump_map` | `dict` | `None` | (OPTIONAL) Dictionary mapping the extracted information to a `SemVer` increment type (`MAJOR`, `MINOR`, `PATCH`) |
2826
+
| `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. |
2827
2827
| `bump_pattern` | `str` | `None` | (OPTIONAL) Regex to extract information from commit (subject and body) |
2828
2828
| `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"]` |
2829
2829
| `commit_parser` | `str` | `None` | (OPTIONAL) Regex to extract information used in creating changelog. [See more](https://commitizen-tools.github.io/commitizen/commands/changelog/) |
@@ -2994,10 +2994,10 @@ And that's it. You can install it without uploading to PyPI by simply doing `pip
2994
2994
2995
2995
You need to define 2 parameters inside your custom `BaseCommitizen`.
| `bump_pattern` | `str` | `None` | Regex to extract information from commit (subject and body) |
3000
+
| `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