Documentation
¶
Overview ¶
Command changelog keeps CHANGELOG.md's `Unreleased` section in fragments: each pull request adds a file to changelog.d instead of a line at the top of the section, so pull requests do not conflict with each other there, and a release folds the fragments into CHANGELOG.md.
go run ./tools/changelog check go run ./tools/changelog collect go run ./tools/changelog release [-date YYYY-MM-DD] X.Y.Z go run ./tools/changelog adopt -base origin/main -kind Fixed <name>
check validates the fragments; collect moves them into `Unreleased` and deletes them; release collects them and turns `Unreleased` into the version's section above a fresh one; adopt moves the `Unreleased` lines a branch added to CHANGELOG.md into a fragment, for branches started before fragments.