From 9f3d42f1068dcfba99f89514950d05539b65842c Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Wed, 14 Nov 2018 14:50:34 +0900 Subject: [PATCH] HADOOP-15930. Exclude MD5 checksum files from release artifact. (cherry picked from commit df5e863fee544c9283e28a21c2788c008d7e3e04) --- dev-support/bin/create-release | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/dev-support/bin/create-release b/dev-support/bin/create-release index c861654bd1c..9d0decfbd9b 100755 --- a/dev-support/bin/create-release +++ b/dev-support/bin/create-release @@ -169,11 +169,6 @@ function run() fi } -function domd5() -{ - run "${MD5SUM}" "${1}" > "${1}.md5" -} - function header() { echo @@ -235,11 +230,6 @@ function set_defaults fi fi - MD5SUM=$(command -v md5sum) - if [[ -z "${MD5SUM}" ]]; then - MD5SUM=$(command -v md5) - fi - NATIVE=false OSNAME=$(uname -s) @@ -641,9 +631,6 @@ function signartifacts declare ret if [[ "${SIGN}" = false ]]; then - for i in ${ARTIFACTS_DIR}/*; do - domd5 "${i}" - done echo "" echo "Remember to sign the artifacts before staging them on the open" echo "" @@ -655,7 +642,6 @@ function signartifacts for i in ${ARTIFACTS_DIR}/*; do ${GPG} --use-agent --armor --output "${i}.asc" --detach-sig "${i}" ${GPG} --print-mds "${i}" > "${i}.mds" - domd5 "${i}" done if [[ "${ASFRELEASE}" = true ]]; then