Browse Source

Update script to generate sha256 files

Signed-off-by: Joffrey F <[email protected]>
Joffrey F 7 years ago
parent
commit
38ae7ae037
1 changed files with 2 additions and 0 deletions
  1. 2 0
      script/release/download-binaries

+ 2 - 0
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 -