summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrel@mortise.boston.redhat.com>2006-12-03 18:09:54 -0500
committerDavid Cantrell <dcantrel@mortise.boston.redhat.com>2006-12-03 18:09:54 -0500
commit00ab69cc4471643aa422e3bf9a536ac2fff64266 (patch)
treebde75981fbb645edec75ac3856ed7f4141729fbc /scripts
parent155b8da6f647a09b365a599d96ce259fd4649429 (diff)
downloadparted-00ab69cc4471643aa422e3bf9a536ac2fff64266.tar.gz
Rename all old ChangeLog files to ChangeLog.0. Added code to the tarball_upload.sh script to generate a toplevel ChangeLog from the git changelog.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/release/tarball_upload.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/release/tarball_upload.sh b/scripts/release/tarball_upload.sh
index 2a9eec5..b908ea4 100755
--- a/scripts/release/tarball_upload.sh
+++ b/scripts/release/tarball_upload.sh
@@ -46,7 +46,7 @@ check_for_program() {
}
echo "* checking for programs that might be missing..."
-for p in sha1sum gpg curl; do
+for p in sha1sum gpg curl git; do
echo -en "\t$p: "
check_for_program $p
done
@@ -63,10 +63,13 @@ else
return 1
fi
+message "* generating ChangeLog"
+git log --pretty=medium > ChangeLog
+
VERSION=$(grep ' VERSION' config.h | awk '{print $3}' | tr -d '"')
message "* checking for correct version in files"
-for f in ChangeLog NEWS; do
+for f in NEWS; do
echo -n -e "\t$f: "
correct_version $VERSION $f
if [ $? -eq 0 ]; then