Skip to content

Commit 3d73c05

Browse files
committed
Tweak mkrelease.
- Legacy-Id: 3209
1 parent 2148f4c commit 3d73c05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/mkrelease

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ changes=$( sed -n "/^ietfdb ($VER.*)/,/^ -- /p" changelog | awk '{ if (line) pri
166166
[ "$changes" ] || die "No changelog information for $VER found"
167167
note "$changes"
168168

169-
contributors=$(echo "$changes" | sed 's/\.[ \t\n]/ /'| tr -c "a-z0-9.@-" "\n" | sort | uniq | grep '@')
169+
contributors=$(echo "$changes" | sed 's/\.[ \t\n]/ /'| tr -c "a-z0-9.@-" "\n" | sort | uniq | grep '@' || true)
170170

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

0 commit comments

Comments
 (0)