Tweak mkrelease.
- Legacy-Id: 3209
This commit is contained in:
parent
2148f4cdac
commit
3d73c05d5b
|
@ -166,7 +166,7 @@ changes=$( sed -n "/^ietfdb ($VER.*)/,/^ -- /p" changelog | awk '{ if (line) pri
|
|||
[ "$changes" ] || die "No changelog information for $VER found"
|
||||
note "$changes"
|
||||
|
||||
contributors=$(echo "$changes" | sed 's/\.[ \t\n]/ /'| tr -c "a-z0-9.@-" "\n" | sort | uniq | grep '@')
|
||||
contributors=$(echo "$changes" | sed 's/\.[ \t\n]/ /'| tr -c "a-z0-9.@-" "\n" | sort | uniq | grep '@' || true)
|
||||
|
||||
note "Set the current time on the release notes in the changelog file"
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue