Skip to content

Commit 2133cb0

Browse files
committed
Changed the release script to not pick up other email addresses than those of contributors from the release notes.
- Legacy-Id: 17369
1 parent edbe42e commit 2133cb0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

bin/mkrelease

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,8 @@ if [ -d ../coverage ]; then
244244
rsync -a static/coverage/ ../coverage/$VER/
245245
fi
246246

247-
contributors=$(echo "$changes" | sed 's/\.[ \t\n]/ /'| tr -c "a-z0-9.@-" "\n" | sort | uniq | grep '@' | sed -r -e 's/^\.+//' -e 's/\.+$//' -e 's/^/-c /' || true)
247+
contributors=$(echo "$changes" | gawk '/^ \* Merged in \[[0-9]+\] from [^: ]+/ {sub(":",""); print $6;}' )
248+
note "Contributors: $contributors"
248249

249250
note "Setting the current time on the release notes in the changelog file ..."
250251
$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)