OSDN Git Service

Rename all old ChangeLog files to ChangeLog.0. Added code to the tarball_upload...
authorDavid Cantrell <dcantrel@mortise.boston.redhat.com>
Sun, 3 Dec 2006 23:09:54 +0000 (18:09 -0500)
committerDavid Cantrell <dcantrel@mortise.boston.redhat.com>
Sun, 3 Dec 2006 23:09:54 +0000 (18:09 -0500)
ChangeLog.0 [moved from ChangeLog with 100% similarity]
libparted/ChangeLog.0 [moved from libparted/ChangeLog with 100% similarity]
parted/ChangeLog.0 [moved from parted/ChangeLog with 100% similarity]
po/ChangeLog.0 [moved from po/ChangeLog with 100% similarity]
scripts/release/tarball_upload.sh

similarity index 100%
rename from ChangeLog
rename to ChangeLog.0
similarity index 100%
rename from libparted/ChangeLog
rename to libparted/ChangeLog.0
similarity index 100%
rename from parted/ChangeLog
rename to parted/ChangeLog.0
similarity index 100%
rename from po/ChangeLog
rename to po/ChangeLog.0
index 2a9eec5..b908ea4 100755 (executable)
@@ -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