mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-11-30 02:00:11 +08:00
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 <gnodet@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user