Skip to content

Commit dd2e5c1

Browse files
committed
Cleaned up the contributors list in bin/mkrelease a bit.
- Legacy-Id: 17566
1 parent 7084e6e commit dd2e5c1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

bin/mkrelease

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,9 @@ if [ -d ../coverage ]; then
245245
rsync -a static/coverage/ ../coverage/$VER/
246246
fi
247247

248-
contributors=$(echo "$changes" | gawk '/^ \* Merged in \[[0-9]+\] from [^: ]+/ {sub(":",""); print $6;}' )
249-
note "Contributors: $contributors"
248+
contributors=$(echo "$changes" | gawk '/^ \* Merged in \[[0-9]+\] from [^: ]+/ {sub(":",""); print $6;}' | sort | uniq)
249+
note "Contributors:
250+
$contributors"
250251

251252
note "Setting the current time on the release notes in the changelog file ..."
252253
$do sed -r -i -e "1,/^ -- /s/([A-Za-z-]+ <[a-z0-9.-]+@[a-z0-9.-]+> ).*$/\1$(TZ=UTC date +'%d %b %Y %H:%M:%S %z')/" changelog

0 commit comments

Comments
 (0)