You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rm...@apache.org on 2020/08/27 00:06:38 UTC

[logging-log4cxx] branch master updated: MD5 is not used anymore for releases and the SHA file extension needed to be different because of SHA-512. (#36)

This is an automated email from the ASF dual-hosted git repository.

rmiddleton pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git


The following commit(s) were added to refs/heads/master by this push:
     new 33b3126  MD5 is not used anymore for releases and the SHA file extension needed to be different because of SHA-512. (#36)
33b3126 is described below

commit 33b31261abc38f920746ca26502e13f804718c9b
Author: Thorsten Schöning <62...@users.noreply.github.com>
AuthorDate: Thu Aug 27 02:06:31 2020 +0200

    MD5 is not used anymore for releases and the SHA file extension needed to be different because of SHA-512. (#36)
---
 release_perform.sh | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/release_perform.sh b/release_perform.sh
index a6d8565..b55461c 100755
--- a/release_perform.sh
+++ b/release_perform.sh
@@ -76,15 +76,13 @@ function sign_and_copy
     echo "Processing ${file}:"
 
     gpg -ab --yes "${file}" > "${file}.asc"
-    md5sum        "${file}" > "${file}.md5"
-    sha512sum     "${file}" > "${file}.sha"
+    sha512sum     "${file}" > "${file}.sha512"
 
     # No symlinks because those would be treated as is, no hard-links because it should be safer for
     # commits.
-    cp --force "${file}"     "${WD_DIST_DEV}"
-    cp --force "${file}.asc" "${WD_DIST_DEV}"
-    cp --force "${file}.md5" "${WD_DIST_DEV}"
-    cp --force "${file}.sha" "${WD_DIST_DEV}"
+    cp --force "${file}"        "${WD_DIST_DEV}"
+    cp --force "${file}.asc"    "${WD_DIST_DEV}"
+    cp --force "${file}.sha512" "${WD_DIST_DEV}"
   done
 }