generate-changelog icon indicating copy to clipboard operation
generate-changelog copied to clipboard

Option to include tagged commits on either beginning or end of range

Open colecarroll opened this issue 4 years ago • 1 comments

I'm importing this package into my code and trying to generate a changelog with tags. It always excludes the tagged commits and includes everything between the beginning and end.

It would be nice if you could provide an option or flag to include the tagged commits into the changelog.

E.g.,

Currently <Tag>Commit1 Commit2 Commit3 Commit4 <Tag> Commit5

Commit1 and Commit 5 are excluded from the changelog.

It would be nice if you could provide an option to include them.

Can I put out a PR for that change?

colecarroll avatar May 14 '20 14:05 colecarroll

If I'm not mistaken, this is supposed to be run before the tag is created.

This is meant to be used so that for every patch, minor, or major version, you update the changelog prior to running npm version so that the git tag contains the commit that updated both the changelog and version.

from https://github.com/lob/generate-changelog#generate-changelog

ScottBrenner avatar Aug 29 '20 22:08 ScottBrenner