From: Paul Fertser Date: Sun, 15 Jan 2017 15:40:54 +0000 (+0300) Subject: tools: release.sh: produce only SHA256 hashes X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3cb7fd4a606c858313f94a29120fe68b06ed967d;p=openocd tools: release.sh: produce only SHA256 hashes Both MD5 and SHA-1 shouldn't be relied upon since long. Change-Id: I0dea92fbf0f68b900c0d3a314fb3956d08ba0d48 Signed-off-by: Paul Fertser Reviewed-on: http://openocd.zylin.com/3949 Tested-by: jenkins --- diff --git a/tools/release.sh b/tools/release.sh index abd721a1..ac8af646 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -102,7 +102,7 @@ do_stage() { for EXT in tar.gz tar.bz2 zip; do local FILE="${PACKAGE_RELEASE}.${EXT}" # create archive signatures - for HASH in md5 sha1; do + for HASH in sha256; do echo "sign: ${FILE}.${HASH}" ${HASH}sum "${FILE}" > "archives/${FILE}.${HASH}" done