Jelajahi Sumber

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

Akira Ajisaka 6 tahun lalu
induk
melakukan
df5e863fee
1 mengubah file dengan 0 tambahan dan 14 penghapusan
  1. 0 14
      dev-support/bin/create-release

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

@@ -169,11 +169,6 @@ function run()
   fi
   fi
 }
 }
 
 
-function domd5()
-{
-  run "${MD5SUM}" "${1}" > "${1}.md5"
-}
-
 function header()
 function header()
 {
 {
   echo
   echo
@@ -235,11 +230,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)
 
 
@@ -641,9 +631,6 @@ function signartifacts
   declare ret
   declare ret
 
 
   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 ""
@@ -655,7 +642,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