A command line utility to create changelogs. A variation of the changelog utility used in gitlab. Allows for the
Changelog.md
must reside in root folder and must have top level header # Changelog- Must run command in same folder as
Changelog.md
- Create a new feature on a branch
- Create a new changelog entry for feature
- Creates a folder called
unreleased
in root folder - Multiple people can be on their own branches with their own entries
- Creates a folder called
- Merge work into release branch when ready
- Preview the changelog
changelog release vX.X.X --preview
- Update the changelog
changelog release vX.X.X
- Version string can follow your preferred format
- Will create a file called
changelog.yml
with all changes in root folder
- Commit the changes
- Unreleased folder will be deleted
- Can optionally keep the yaml files
- Cake
Once you are satisfied with the current version of the code run the following:
tusk test
tusk release --version=X.X.X
git add -u
git tag vX.X.X
git commit -m"Latest release"
This performs the following:
- Merge all elements into
changelog.yml
- Add all elements to
CHANGELOG.md
- copy the latest version to
tools
folder - Add all the updated file (includes the version in source code and the tool itself)
- Tag the latest commit
- Submit changes