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:
parent
2ce0914176
commit
ec3a5d1db1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue