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
Copy file name to clipboardExpand all lines: README.md
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -343,6 +343,27 @@ If you've already run `commit-and-tag-version` when creating your release, you m
343
343
the version, by using `commit-and-tag-version --skip.bump`. By default, tagging with an already existing tag make `git` fails.
344
344
You can add the `--tag-force` flag to make use of `-f` option when calling `git tag`, then the existing version tag will be replaced.
345
345
346
+
### Generate changelogs for old releases
347
+
348
+
Normally only the changelog for the last release will be generated and prepended to the `changelog.md`. If you want to generate changelogs for previous releases you can do so by setting the `releaseCount` option like described [here](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-core#releasecount).
349
+
350
+
When setting releaseCount=0 the whole changelog gets regenerated and replaced.
351
+
352
+
You can set the option either in the`.versionrc` file or inside `package.json` like below
0 commit comments