Skip to content

Commit 95464c7

Browse files
committed
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
1 parent 1c22cc1 commit 95464c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/release-process.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ and sort them into categories based on labels)
5050

5151
Generate list of authors:
5252

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

5555
Tag version (or release candidate) in git
5656

0 commit comments

Comments
 (0)