From 42fe537b8161b73eab0a24d06e28de5522eac190 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Sun, 26 Oct 2014 12:56:53 +0000 Subject: [PATCH] Tweaked the mkrelease script to always apply changelog note timestamps in UTC. - Legacy-Id: 8479 --- bin/mkrelease | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mkrelease b/bin/mkrelease index 09f8b80e8..a10c032cf 100755 --- a/bin/mkrelease +++ b/bin/mkrelease @@ -176,7 +176,7 @@ note "$changes" 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) 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 +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 note " $(grep -m1 "^ -- " changelog)" note "Verifying that version $VER doesn't already exist..."