HADOOP-15930. Exclude MD5 checksum files from release artifact. (cherry picked from commit df5e863fee544c9283e28a21c2788c008d7e3e04)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/914716d1 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/914716d1 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/914716d1 Branch: refs/heads/branch-2-jhung-test Commit: 914716d15c5dfe901dc1674e8dc771e00e8091e4 Parents: 0f9757f Author: Akira Ajisaka <[email protected]> Authored: Wed Nov 14 14:50:34 2018 +0900 Committer: Jonathan Hung <[email protected]> Committed: Fri Dec 14 16:03:56 2018 -0800 ---------------------------------------------------------------------- dev-support/bin/create-release | 14 -------------- 1 file changed, 14 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/914716d1/dev-support/bin/create-release ---------------------------------------------------------------------- diff --git a/dev-support/bin/create-release b/dev-support/bin/create-release index fbe3fb2..33c87cd 100755 --- a/dev-support/bin/create-release +++ b/dev-support/bin/create-release @@ -167,11 +167,6 @@ function run() fi } -function domd5() -{ - run "${MD5SUM}" "${1}" > "${1}.md5" -} - ## @description set JAVA_HOME properly ## @audience public ## @stability unstable @@ -241,11 +236,6 @@ function set_defaults fi fi - MD5SUM=$(command -v md5sum) - if [[ -z "${MD5SUM}" ]]; then - MD5SUM=$(command -v md5) - fi - NATIVE=false OSNAME=$(uname -s) @@ -601,9 +591,6 @@ function signartifacts declare i 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 "" @@ -615,7 +602,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 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
