HADOOP-16494. Add SHA-512 checksum to release artifact to comply with the release distribution policy.

This closes #1243

(cherry picked from commit 34dd9ee366)
This commit is contained in:
Akira Ajisaka 2019-08-07 13:29:30 +09:00
parent 2ce0914176
commit ec3a5d1db1
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
1 changed files with 1 additions and 1 deletions

View File

@ -641,7 +641,7 @@ function signartifacts
for i in ${ARTIFACTS_DIR}/*; do for i in ${ARTIFACTS_DIR}/*; do
${GPG} --use-agent --armor --output "${i}.asc" --detach-sig "${i}" ${GPG} --use-agent --armor --output "${i}.asc" --detach-sig "${i}"
${GPG} --print-mds "${i}" > "${i}.mds" sha512sum --tag "${i}" > "${i}.sha512"
done done
if [[ "${ASFRELEASE}" = true ]]; then if [[ "${ASFRELEASE}" = true ]]; then