From 79df24be10284df48604f8e5b04354811782e4b8 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Mon, 17 Dec 2007 12:04:06 -1000 Subject: [PATCH] Fix up the ChangeLog generation a bit. We can just take the output of git-log. --- scripts/release/tarball_upload.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/release/tarball_upload.sh b/scripts/release/tarball_upload.sh index d7a543a..2e9f643 100755 --- a/scripts/release/tarball_upload.sh +++ b/scripts/release/tarball_upload.sh @@ -68,7 +68,13 @@ else fi message "* generating ChangeLog" -git log --pretty=medium | fold -s > ChangeLog +( GIT_DIR=.git git-log > .changelog.tmp && \ + mv .changelog.tmp ChangeLog ; \ + rm -f .changelog.tmp \ +) || \ +( touch ChangeLog ; \ + echo 'git directory not found: installing possibly empty changelog.' \ +) VERSION=$(grep ' VERSION' lib/config.h | awk '{print $3}' | tr -d '"') -- 2.11.0