Skip to content

Commit

Permalink
doc: Improve command to generate list of authors for release notes
Browse files Browse the repository at this point in the history
- Remove dependency on sed (sed was overkill when you can just add plain
  text to the git log --format command)
- Sort resulting list of authors alphabetically (case-insensitive)
- Provide an example of how to only generate authors between versions
  • Loading branch information
MitchellCash committed Jul 19, 2018
1 parent 1c22cc1 commit 95464c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/release-process.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ and sort them into categories based on labels)

Generate list of authors:

git log --format='%aN' "$*" | sort -ui | sed -e 's/^/- /'
git log --format='- %aN' v(current version, e.g. 0.16.0)..v(new version, e.g. 0.16.1) | sort -fiu

Tag version (or release candidate) in git

Expand Down

0 comments on commit 95464c7

Please sign in to comment.