You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by gn...@apache.org on 2022/05/02 18:37:15 UTC

[maven-mvnd] branch master updated: only publish sha256, skip md5+sha1+sha512 (#625)

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

gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-mvnd.git


The following commit(s) were added to refs/heads/master by this push:
     new 6f024f3  only publish sha256, skip md5+sha1+sha512 (#625)
6f024f3 is described below

commit 6f024f3b72ed8766c9031a8e6078242244411fba
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Mon May 2 20:37:11 2022 +0200

    only publish sha256, skip md5+sha1+sha512 (#625)
    
    * only publish sha512, skip md5+sha1+sha256
    * Keep sha256 signature instead of sha512 for homebrew
    Co-authored-by: Guillaume Nodet <gn...@gmail.com>
---
 build/publish.sh | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/build/publish.sh b/build/publish.sh
index b6cdcd1..1cc450c 100755
--- a/build/publish.sh
+++ b/build/publish.sh
@@ -51,10 +51,7 @@ cd ${VERSION}
 for dist in darwin-amd64.zip linux-amd64.zip windows-amd64.zip src.zip src.tar.gz
 do
   FILE=mvnd-${VERSION}-${dist}
-  md5 -q ${FILE} > ${FILE}.md5
-  shasum -a 1 -b ${FILE} | cut -d ' ' -f 1 > ${FILE}.sha1
   shasum -a 256 -b ${FILE} | cut -d ' ' -f 1 > ${FILE}.sha256
-  shasum -a 512 -b ${FILE} | cut -d ' ' -f 1 > ${FILE}.sha512
   gpg --detach-sign --armor ${FILE}
 done