浏览代码

Update script to generate sha256 files

Signed-off-by: Joffrey F <[email protected]>
Joffrey F 7 年之前
父节点
当前提交
38ae7ae037
共有 1 个文件被更改,包括 2 次插入0 次删除
  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 -