From ec3a5d1db1e38f7f3c85c0c41635f1ba42d6573b Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Wed, 7 Aug 2019 13:29:30 +0900 Subject: [PATCH] HADOOP-16494. Add SHA-512 checksum to release artifact to comply with the release distribution policy. This closes #1243 (cherry picked from commit 34dd9ee36674be670013d4fc3d9b8f5b36886812) --- dev-support/bin/create-release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-support/bin/create-release b/dev-support/bin/create-release index 9f3bf514783..9bc83e52e1b 100755 --- a/dev-support/bin/create-release +++ b/dev-support/bin/create-release @@ -641,7 +641,7 @@ function signartifacts for i in ${ARTIFACTS_DIR}/*; do ${GPG} --use-agent --armor --output "${i}.asc" --detach-sig "${i}" - ${GPG} --print-mds "${i}" > "${i}.mds" + sha512sum --tag "${i}" > "${i}.sha512" done if [[ "${ASFRELEASE}" = true ]]; then