瀏覽代碼

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

This closes #1243

(cherry picked from commit 34dd9ee36674be670013d4fc3d9b8f5b36886812)
Akira Ajisaka 5 年之前
父節點
當前提交
786df37429
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dev-support/bin/create-release

+ 1 - 1
dev-support/bin/create-release

@@ -601,7 +601,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