From 38ae7ae037fc0d626cf847c6781ebba67de9cfff Mon Sep 17 00:00:00 2001 From: Joffrey F Date: Thu, 7 Dec 2017 12:04:26 -0800 Subject: [PATCH] Update script to generate sha256 files Signed-off-by: Joffrey F --- script/release/download-binaries | 2 ++ 1 file changed, 2 insertions(+) diff --git a/script/release/download-binaries b/script/release/download-binaries index bef5430f4..0b187f6c2 100755 --- a/script/release/download-binaries +++ b/script/release/download-binaries @@ -33,5 +33,7 @@ wget -O $DESTINATION/docker-compose-Windows-x86_64.exe $APPVEYOR_URL echo -e "\n\nCopy the following lines into the integrity check table in the release notes:\n\n" cd $DESTINATION +rm -rf *.sha256 ls | xargs sha256sum | sed 's/ / | /g' | sed -r 's/([^ |]+)/`\1`/g' +ls | xargs -I@ bash -c "sha256sum @ | cut -d' ' -f1 > @.sha256" cd -