From 95464c7519ca2b4eb9d2825518b6a75b5ddb7e87 Mon Sep 17 00:00:00 2001 From: Mitchell Cash Date: Wed, 18 Jul 2018 22:03:26 +1000 Subject: [PATCH] doc: Improve command to generate list of authors for release notes - 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 --- doc/release-process.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/release-process.md b/doc/release-process.md index 1e705898f..3ba622ee6 100644 --- a/doc/release-process.md +++ b/doc/release-process.md @@ -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