Explorar el Código

HADOOP-15930. Exclude MD5 checksum files from release artifact.

(cherry picked from commit df5e863fee544c9283e28a21c2788c008d7e3e04)
(cherry picked from commit 4199086084245a32d5a8ec09e1571948f0765c83)
Akira Ajisaka hace 6 años
padre
commit
77c4bc9068
Se han modificado 1 ficheros con 0 adiciones y 14 borrados
  1. 0 14
      dev-support/bin/create-release

+ 0 - 14
dev-support/bin/create-release

@@ -167,11 +167,6 @@ function run()
   fi
   fi
 }
 }
 
 
-function domd5()
-{
-  run "${MD5SUM}" "${1}" > "${1}.md5"
-}
-
 ## @description  set JAVA_HOME properly
 ## @description  set JAVA_HOME properly
 ## @audience     public
 ## @audience     public
 ## @stability    unstable
 ## @stability    unstable
@@ -241,11 +236,6 @@ function set_defaults
     fi
     fi
   fi
   fi
 
 
-  MD5SUM=$(command -v md5sum)
-  if [[ -z "${MD5SUM}" ]]; then
-    MD5SUM=$(command -v md5)
-  fi
-
   NATIVE=false
   NATIVE=false
   OSNAME=$(uname -s)
   OSNAME=$(uname -s)
 
 
@@ -601,9 +591,6 @@ function signartifacts
   declare i
   declare i
 
 
   if [[ "${SIGN}" = false ]]; then
   if [[ "${SIGN}" = false ]]; then
-    for i in ${ARTIFACTS_DIR}/*; do
-      domd5 "${i}"
-    done
     echo ""
     echo ""
     echo "Remember to sign the artifacts before staging them on the open"
     echo "Remember to sign the artifacts before staging them on the open"
     echo ""
     echo ""
@@ -615,7 +602,6 @@ 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"
     ${GPG} --print-mds "${i}" > "${i}.mds"
-    domd5 "${i}"
   done
   done
 
 
   if [[ "${ASFRELEASE}" = true ]]; then
   if [[ "${ASFRELEASE}" = true ]]; then