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 <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2017-09-11 12:40:06 +05:30 committed by GitHub
parent 774998d76b
commit 85e57d1155

View File

@ -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