Generating release notes
So here's a neat trick from https://coderwall.com/p/5cv5lg/generate-your-changelogs-with-git-log
- Add
#changelog
to commits we want to show in release notes - For the release run
git log 0.1.0...0.1.1 --pretty=format:'<li> <a href="https://git.embl.de/grp-stratcom/visual-framework-tooling-prototype/commit/%H">view commit •</a> %s</li> ' --reverse | grep "#changelog"
- Copy, paste
Example from the last few commits to master (without the grep
, git log 0.1.0 --pretty=format:'<li> <a href="https://git.embl.de/grp-stratcom/visual-framework-tooling-prototype/commit/%H">view commit •</a> %s</li> ' --reverse
):
<li> <a href="https://git.embl.de/grp-stratcom/visual-framework-tooling-prototype/commit/9220794740e7a1761cacfa3f7dc0375564e48caa">view commit •</a> fixes things</li>
<li> <a href="https://git.embl.de/grp-stratcom/visual-framework-tooling-prototype/commit/5fb85b915c4d20735e02af73e40c84b72eb775be">view commit •</a> Develop</li>
<li> <a href="https://git.embl.de/grp-stratcom/visual-framework-tooling-prototype/commit/e0705c6960338e5818cc73fa2ab7a37f7333d6cb">view commit •</a> Merge branch 'develop' into 'master'</li>
Edited by Ken Hawkins