Update script to generate sha256 files

Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
Joffrey F 2017-12-07 12:04:26 -08:00
parent b2c52178ba
commit 38ae7ae037
1 changed files with 2 additions and 0 deletions

View File

@ -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 -