diff --git a/smartmontools/CHANGELOG b/smartmontools/CHANGELOG index 768177a51990f66fe2ea362006c613b3d8a18756..d8d135cd2f6c4cace19412fdf871f9deef60b22a 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 e3e2ea05a33502e480c94da82dcde4b9bfc78ab8..35a545a5d7629a91b3bf192b9d491d3d257a6f30 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 -