From 85e57d11551bdf34359b8d509f3337d0ca365805 Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Mon, 11 Sep 2017 12:40:06 +0530 Subject: [PATCH] CLOUDSTACK-10069: Add sha512 suffix to SHA 512 checksum (#2262) Per http://www.apache.org/dev/release-distribution#sigs-and-sums This will add `.sha512` to the SHA 512 checksum file in the release/candidate tarball. Signed-off-by: Rohit Yadav --- tools/build/build_asf.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/build/build_asf.sh b/tools/build/build_asf.sh index 75eac694198..2f9a4725cb9 100755 --- a/tools/build/build_asf.sh +++ b/tools/build/build_asf.sh @@ -154,8 +154,8 @@ fi echo 'md5' gpg -v --print-md MD5 apache-cloudstack-$version-src.tar.bz2 > apache-cloudstack-$version-src.tar.bz2.md5 -echo 'sha' -gpg -v --print-md SHA512 apache-cloudstack-$version-src.tar.bz2 > apache-cloudstack-$version-src.tar.bz2.sha +echo 'sha512' +gpg -v --print-md SHA512 apache-cloudstack-$version-src.tar.bz2 > apache-cloudstack-$version-src.tar.bz2.sha512 echo 'verify' gpg -v --verify apache-cloudstack-$version-src.tar.bz2.asc apache-cloudstack-$version-src.tar.bz2 @@ -187,11 +187,11 @@ if [ "$committosvn" == "yes" ]; then cp $outputdir/apache-cloudstack-$version-src.tar.bz2 . cp $outputdir/apache-cloudstack-$version-src.tar.bz2.asc . cp $outputdir/apache-cloudstack-$version-src.tar.bz2.md5 . - cp $outputdir/apache-cloudstack-$version-src.tar.bz2.sha . + cp $outputdir/apache-cloudstack-$version-src.tar.bz2.sha512 . svn add apache-cloudstack-$version-src.tar.bz2 svn add apache-cloudstack-$version-src.tar.bz2.asc svn add apache-cloudstack-$version-src.tar.bz2.md5 - svn add apache-cloudstack-$version-src.tar.bz2.sha + svn add apache-cloudstack-$version-src.tar.bz2.sha512 svn commit -m "Committing release candidate artifacts for $version to dist/dev/cloudstack in preparation for release vote" fi