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
-[Type definition for `tagOpts` → look for `GetSemverTagsParams`](https://github.com/conventional-changelog/conventional-changelog/blob/master/packages/git-client/src/types.ts)
91
+
- This option will be passed as the first argument to [`bumper.tag`][16]
92
+
-[Type definition for `tagOpts` → look for `GetSemverTagsParams`][18]
100
93
101
94
### `commitsOpts`
102
95
103
-
- This option will be passed as the first argument to
-[Type definition for `commitsOpts` → look for `GetCommitsParams`](https://github.com/conventional-changelog/conventional-changelog/blob/master/packages/git-client/src/types.ts)
96
+
- This option will be passed as the first argument to [`bumper.commits`][16]
97
+
-[Type definition for `commitsOpts` → look for `GetCommitsParams`][18]
106
98
107
99
### `whatBump`
108
100
109
-
- This option will be passed as the first argument to
-[Type definition for `whatBump` → look for `Preset['whatBump']`](https://github.com/conventional-changelog/conventional-changelog/blob/master/packages/conventional-recommended-bump/src/types.ts)
112
-
- Use the `false` Boolean value to skip releasing a new version.
101
+
- This option will be passed as the first argument to [`bumper.bump`][16]
102
+
-[Type definition for `whatBump` → look for `Preset['whatBump']`][19]
103
+
- Use `false` to skip releasing a new version:
113
104
114
105
```json
115
106
{
@@ -149,8 +140,8 @@ Default value: `undefined`
149
140
150
141
- Set a filename as `infile` to write the changelog to. If this file does not exist yet, it's created with the full
151
142
history.
152
-
- When `infile` is not set, the changelog generated by this plugin will still be used as release notes for e.g.
-[Type definition for `parserOpts` → look for `ParserOptions`](https://github.com/conventional-changelog/conventional-changelog/blob/master/packages/conventional-commits-parser/src/types.ts)
203
+
- Options for [`conventional-commits-parser`][23]
204
+
- This option will also be passed as the second argument to [`bumper.parserOptions`][16]
205
+
-[Type definition for `parserOpts` → look for `ParserOptions`][24]
220
206
221
207
For example, you can use the following option to set the merge pattern during parsing the commit message:
222
208
@@ -235,9 +221,8 @@ For example, you can use the following option to set the merge pattern during pa
-[Type definition for `writerOpts` → look for `Options`](https://github.com/conventional-changelog/conventional-changelog/blob/master/packages/conventional-changelog-writer/src/types/options.ts)
224
+
- Options for [`conventional-changelog-writer`][25]
225
+
-[Type definition for `writerOpts` → look for `Options`][26]
241
226
242
227
For example, you can use the following option to group the commits by 'scope' instead of 'type' by default.
243
228
@@ -289,8 +274,45 @@ Depending on your shell or OS this may differ.
289
274
290
275
## GitHub Actions
291
276
292
-
When using this plugin in a GitHub Action, make sure to set
293
-
[`fetch-depth: 0`](https://github.com/actions/checkout#fetch-all-history-for-all-tags-and-branches) so the history is
294
-
available to determine the correct recommended bump and changelog.
295
-
296
-
Also see https://github.com/release-it/release-it/blob/master/docs/ci.md#github-actions
277
+
When using this plugin in a GitHub Action, make sure to set [`fetch-depth: 0`][27] so the history is available to
278
+
determine the correct recommended bump and changelog.
279
+
280
+
Also see [https://github.com/release-it/release-it/blob/master/docs/ci.md#github-actions][28]
0 commit comments