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
When set to `true` the changelog is always updated incrementally when running `cz bump`, so the user does not have to provide the `--changelog` flag every time.
Copy file name to clipboardExpand all lines: docs/config.md
+12-12
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ Default: `[ ]`
59
59
60
60
Legacy git tag formats, useful for old projects that changed tag format.
61
61
Tags matching those formats will be recognized as version tags and be included in the changelog.
62
-
Each entry use the the syntax as [`tag_format`](#tag_format). [Read more][tag_format]
62
+
Each entry uses the syntax as [`tag_format`](#tag_format). [Read more][tag_format]
63
63
64
64
### `ignored_tag_formats`
65
65
@@ -68,7 +68,7 @@ Type: `list`
68
68
Default: `[ ]`
69
69
70
70
Tags matching those formats will be totally ignored and won't raise a warning.
71
-
Each entry use the the syntax as [`tag_format`](#tag_format) with the addition of `*`
71
+
Each entry uses the syntax as [`tag_format`](#tag_format) with the addition of `*`
72
72
that will match everything (non-greedy). [Read more][tag_format]
73
73
74
74
### `update_changelog_on_bump`
@@ -101,7 +101,7 @@ Type: `str`
101
101
102
102
Default: `None`
103
103
104
-
Create custom commit message, useful to skip ci. [Read more][bump_message]
104
+
Create custom commit message, useful to skip CI. [Read more][bump_message]
105
105
106
106
### `retry_after_failure`
107
107
@@ -117,7 +117,7 @@ Type: `bool`
117
117
118
118
Default: `false`
119
119
120
-
Disallow empty commit messages, useful in ci. [Read more][allow_abort]
120
+
Disallow empty commit messages, useful in CI. [Read more][allow_abort]
121
121
122
122
### `allowed_prefixes`
123
123
@@ -195,15 +195,15 @@ Type: `bool`
195
195
196
196
Default: `false`
197
197
198
-
When true, breaking changes on a `0.x` will remain as a `0.x` version. On `false`, a breaking change will bump a `0.x` version to `1.0`. [major-version-zero]
198
+
When true, breaking changes on a `0.x` will remain as a `0.x` version. On `false`, a breaking change will bump a `0.x` version to `1.0`. [Read more][major-version-zero]
199
199
200
200
### `prerelease_offset`
201
201
202
202
Type: `int`
203
203
204
204
Default: `0`
205
205
206
-
In some circumstances, a prerelease cannot start with a 0, e.g. in an embedded project individual characters are encoded as bytes. This can be done by specifying an offset from which to start counting. [prerelease-offset]
206
+
In some circumstances, a prerelease cannot start with a 0, e.g. in an embedded project individual characters are encoded as bytes. This can be done by specifying an offset from which to start counting. [Read more][prerelease-offset]
207
207
208
208
### `pre_bump_hooks`
209
209
@@ -247,7 +247,7 @@ Provide extra variables to the changelog template. [Read more][template-customiz
247
247
248
248
## Configuration file
249
249
250
-
### pyproject.toml, .cz.toml or cz.toml
250
+
### `pyproject.toml`, `.cz.toml` or `cz.toml`
251
251
252
252
Default and recommended configuration format for a project.
253
253
For a **python** project, we recommend adding an entry to your `pyproject.toml`.
@@ -278,7 +278,7 @@ style = [
278
278
]
279
279
```
280
280
281
-
### .cz.json or cz.json
281
+
### `.cz.json` or `cz.json`
282
282
283
283
Commitizen has support for JSON configuration. Recommended for `NodeJS` projects.
284
284
@@ -304,7 +304,7 @@ Commitizen has support for JSON configuration. Recommended for `NodeJS` projects
304
304
}
305
305
```
306
306
307
-
### .cz.yaml or cz.yaml
307
+
### `.cz.yaml` or `cz.yaml`
308
308
309
309
YAML configuration is supported by Commitizen. Recommended for `Go`, `ansible`, or even `helm` charts projects.
310
310
@@ -358,7 +358,7 @@ Commitizen provides some version providers for some well known formats:
358
358
| `composer` | Get and set version from `composer.json` `project.version` field |
359
359
360
360
!!! note
361
-
The `scm` provider is meant to be used with `setuptools-scm` or any packager `*-scm` plugin.
361
+
The `scm` provider is meant to be used with `setuptools-scm` or any packager `*-scm` plugin.
362
362
363
363
An example in your `.cz.toml` or `cz.toml` would look like this:
Copy file name to clipboardExpand all lines: docs/tutorials/gitlab_ci.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -12,9 +12,9 @@ _Goal_: Bump a new version every time that a change occurs on the `master` branc
12
12
4. For simplification, we store the software version in a file called `VERSION`. You can use any file that you want as `commitizen` supports it.
13
13
5. The commit message executed automatically by the `CI` must include `[skip-ci]` in the message; otherwise, the process will generate a loop. You can define the message structure in [commitizen](../commands/bump.md) as well.
14
14
15
-
### Gitlab Configuration
15
+
### GitLab Configuration
16
16
17
-
To be able to change files and push new changes with `Gitlab CI` runners, we need to have a `ssh` key and configure a git user.
17
+
To be able to change files and push new changes with `GitLab CI` runners, we need to have a `ssh` key and configure a git user.
18
18
19
19
First, let's create a `ssh key`. The only requirement is to create it without a passphrase:
0 commit comments