[icinga-checkins] icinga.org: icinga-core/cmaser/fixes: add md5 generation to make-tarball; fix update-version w/o configure
git at icinga.org
git at icinga.org
Sat Jul 3 22:41:49 CEST 2010
Module: icinga-core
Branch: cmaser/fixes
Commit: 83cc67f70873481629afa881266ee356edbcb978
URL: https://git.icinga.org/?p=icinga-core.git;a=commit;h=83cc67f70873481629afa881266ee356edbcb978
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date: Wed Jun 30 09:36:05 2010 +0200
add md5 generation to make-tarball; fix update-version w/o configure
---
make-tarball | 6 +++++-
update-version | 2 ++
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/make-tarball b/make-tarball
index bfc4b47..b7cd8d2 100755
--- a/make-tarball
+++ b/make-tarball
@@ -187,5 +187,9 @@ TAR_NAME=${PREFIX%/}
mv $OUT_FILE/icinga-core.tar.gz ../$TAR_NAME.tar.gz
echo "../$TAR_NAME.tar.gz created for uploading..."
-#echo "Please rename ../icinga-core.tar.gz to ../icinga-VERSIONSTRING.tar.gz and upload..."
+
+cd ..
+md5sum $TAR_NAME.tar.gz > $TAR_NAME.tar.gz.md5
+
+echo "../$TAR_NAME.tar.gz.md5 created for uploading..."
diff --git a/update-version b/update-version
index 6898ec4..d2173c6 100755
--- a/update-version
+++ b/update-version
@@ -43,6 +43,8 @@ fi
# Update version number in Makefile.in
perl -i -p -e "s/ICINGA_VERSION=.*/ICINGA_VERSION=$newversion/;" Makefile.in
+# needs to be done in current Makefile too (not dependant on configure!)
+perl -i -p -e "s/ICINGA_VERSION=.*/ICINGA_VERSION=$newversion/;" Makefile
# Update version number and release date in main HTML page
perl -i -p -e "s/>Version .*</>Version $newversion</;" html/main.html
More information about the icinga-checkins
mailing list