Version: 0.1.1
- Build the docker image
- Make sure you change the BRANCH and BRANCH_MASTER variables in the container.
- Make sure the /app/repo path in the container mapped to your git repo.
- Run it.
It gets every commit between BRANCH_MASTER and BRANCH and generates a list of changes depending on the commit messages.
- It ignores commit messages starting with --
- It ignores single line commit messages, if the message does not resolve an issue (resolves, fixes etc #88)
- It ignores the first line in a multiline commit message.
Add this to .bashrc
function generateChangelog() {
(docker run --rm -it -v "${PWD}":/app/repo -e BRANCH="origin/development" -e BRANCH_MASTER="origin/master" oisann/swift-pr-changelog-generator:latest)
}
- Generate a simple CHANGELOG
- Add commandline arguments for running outside a container.
- Prepending to an existing CHANGELOG, with the title of the Pull Request as a header
- Automatically generate CHANGELOG on merge