Skip to content

Commit 85e57d1

Browse files
authored
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>
1 parent 774998d commit 85e57d1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tools/build/build_asf.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ fi
154154
echo 'md5'
155155
gpg -v --print-md MD5 apache-cloudstack-$version-src.tar.bz2 > apache-cloudstack-$version-src.tar.bz2.md5
156156

157-
echo 'sha'
158-
gpg -v --print-md SHA512 apache-cloudstack-$version-src.tar.bz2 > apache-cloudstack-$version-src.tar.bz2.sha
157+
echo 'sha512'
158+
gpg -v --print-md SHA512 apache-cloudstack-$version-src.tar.bz2 > apache-cloudstack-$version-src.tar.bz2.sha512
159159

160160
echo 'verify'
161161
gpg -v --verify apache-cloudstack-$version-src.tar.bz2.asc apache-cloudstack-$version-src.tar.bz2
@@ -187,11 +187,11 @@ if [ "$committosvn" == "yes" ]; then
187187
cp $outputdir/apache-cloudstack-$version-src.tar.bz2 .
188188
cp $outputdir/apache-cloudstack-$version-src.tar.bz2.asc .
189189
cp $outputdir/apache-cloudstack-$version-src.tar.bz2.md5 .
190-
cp $outputdir/apache-cloudstack-$version-src.tar.bz2.sha .
190+
cp $outputdir/apache-cloudstack-$version-src.tar.bz2.sha512 .
191191
svn add apache-cloudstack-$version-src.tar.bz2
192192
svn add apache-cloudstack-$version-src.tar.bz2.asc
193193
svn add apache-cloudstack-$version-src.tar.bz2.md5
194-
svn add apache-cloudstack-$version-src.tar.bz2.sha
194+
svn add apache-cloudstack-$version-src.tar.bz2.sha512
195195
svn commit -m "Committing release candidate artifacts for $version to dist/dev/cloudstack in preparation for release vote"
196196
fi
197197

0 commit comments

Comments
 (0)