This documentation outlines a simple series of steps to keep CHANGELOG.md
up-to-date, avoid merge conflicts, and better surface post deply steps.
-
Make a copy of
changelogs/template.md
with the ticket number as the name, e.g.DP-1234.md.
If there is no ticket number for the contribution, just use the branch name and your initials, e.g.awesome- feature-branch.md
. -
Write a plain language description of the feature you're contributing. It needs to include the project prefix, component name, what changed, and who it impacts.
-
Write down any post deploy steps that need to be performed, e.g.
This change will effect the local build. Make sure all developers know what steps to take after this gets in to dev.
-
For any breaking changes, add a comment in the PR describing the necessary changes on the consumer side and link that comment in the changelog.
-
Commit the file and open your PR.
Do this after your open your release branch:
- In
CHANGELOG.md
, create a new section for the release with "Added", "Changed", and "Removed" sub-sections. - Go through each
changelogs/*.md
file and copy the description into the appropriate sub-section ofCHANGELOG.md
. - Keep a list of post deployment steps handy for yourself.
- After the last description is copied and you have all the post deployment steps, delete all files in
changelogs/
except forchangelogs/template.md
. - Commit changes to the release branch.