You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ts...@apache.org on 2020/08/19 07:12:48 UTC
[logging-log4cxx] 01/01: MD5 is not used anymore for releases and
the SHA file extension needed to be different because of SHA-512.
This is an automated email from the ASF dual-hosted git repository.
tschoening pushed a commit to branch sha512_file_ext
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git
commit 0325db133d1b79da9cbe404458b6f877792f722a
Author: Thorsten Schöning <ts...@am-soft.de>
AuthorDate: Wed Aug 19 09:12:33 2020 +0200
MD5 is not used anymore for releases and the SHA file extension needed to be different because of SHA-512.
---
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
}