From 387bfdf91b44bedfa820efe7041bbe421afd0350 Mon Sep 17 00:00:00 2001 From: chrfranke <chrfranke@4ea69e1a-61f1-4043-bf83-b5c94c648137> Date: Mon, 26 Oct 2009 18:36:22 +0000 Subject: [PATCH] do_release: Replace generation of '*.asc' file by '*.md5' and '*.sha1'. git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@2970 4ea69e1a-61f1-4043-bf83-b5c94c648137 --- smartmontools/CHANGELOG | 2 ++ smartmontools/do_release | 17 ++++++----------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/smartmontools/CHANGELOG b/smartmontools/CHANGELOG index 768177a51..d8d135cd2 100644 --- a/smartmontools/CHANGELOG +++ b/smartmontools/CHANGELOG @@ -43,6 +43,8 @@ NOTES FOR FUTURE RELEASES: see TODO file. <DEVELOPERS: ADDITIONS TO THE CHANGE LOG GO JUST BELOW HERE, PLEASE> + [CF] do_release: Replace generation of '*.asc' by '*.md5' and '*.sha1'. + [MS] attribute updates: - change attributes 202,204,205 to the meanings as found in wdidle3.exe retain old entries as comments (possible Fujitsu use) diff --git a/smartmontools/do_release b/smartmontools/do_release index e3e2ea05a..35a545a5d 100755 --- a/smartmontools/do_release +++ b/smartmontools/do_release @@ -15,10 +15,6 @@ set -e -# TODO -#KEYID=0x841ABAE8 -KEYID= - inc_release() { MINOR=`echo $VERSION | cut -d. -f2` @@ -36,7 +32,7 @@ COMMIT= RC= case "$1" in - --commit) COMMIT=yes; shift;; + --commit) COMMIT=yes; shift ;; esac case "$*" in @@ -106,10 +102,14 @@ make distcheck || exit 1 make maintainer-clean cd .. -mv -f build/smartmontools-$VERSION.tar.gz smartmontools-$VERSIONRC.tar.gz +TARFILE=smartmontools-$VERSIONRC.tar.gz +mv -f build/smartmontools-$VERSION.tar.gz $TARFILE rm -rvf build +md5sum $TARFILE > $TARFILE.md5 +sha1sum $TARFILE > $TARFILE.sha1 + # Increase release number if [ -z "$RC" ]; then inc_release @@ -119,8 +119,3 @@ if [ -z "$RC" ]; then fi fi -# Sign tarball -if [ "$KEYID" ]; then - gpg --default-key $KEYID --armor --detach-sign ./smartmontools-$VERSIONRC.tar.gz -fi - -- GitLab