Skip to content

Commit bf27526

Browse files
authored
docs: Show that whatBump accepts a function for recommending the new version (#109)
1 parent b5d0619 commit bf27526

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,20 @@ See the [Conventional Changelog Configuration Spec (v2.1.0)][17] for the configu
112112
}
113113
```
114114

115+
- Use a function to manually provide a bump:
116+
117+
```js
118+
module.exports = {
119+
plugins: {
120+
'@release-it/conventional-changelog': {
121+
whatBump: function () {
122+
return { releaseType: '10.0.1' };
123+
}
124+
}
125+
}
126+
};
127+
```
128+
115129
### `ignoreRecommendedBump`
116130

117131
Default value: `false`

0 commit comments

Comments
 (0)