[Parted-commits] GNU Parted Official Repository: Changes to 'master'
David Cantrell
dcantrell-guest at alioth.debian.org
Mon Dec 17 22:11:06 UTC 2007
scripts/release/tarball_upload.sh | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
New commits:
commit 79df24be10284df48604f8e5b04354811782e4b8
Author: David Cantrell <dcantrell at redhat.com>
Date: Mon Dec 17 12:04:06 2007 -1000
Fix up the ChangeLog generation a bit.
We can just take the output of git-log.
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 '"')
More information about the Parted-commits
mailing list