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/09/05 20:51:33 UTC
[logging-log4cxx] 02/07: 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 logcxx_510_rm_vs2019
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git
commit 70855b85b14ff394f688f325f31e71e5facb40d1
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
}