Skip to content

Commit 009543c

Browse files
committed
Fixed a bug in the --dry-run handling of mkrelease.
- Legacy-Id: 9204
1 parent 6f285a1 commit 009543c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/mkrelease

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ note "$changes"
177177
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)
178178

179179
note "Set the current time on the release notes in the changelog file"
180-
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
180+
$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
181181
note " $(grep -m1 "^ -- " changelog)"
182182

183183
note "Verifying that version $VER doesn't already exist..."

0 commit comments

Comments
 (0)