瀏覽代碼

create also a checksums.txt file, add --binary

create also a checksums.txt file
and switch shasum to --binary,
to Fix problems with the verification on different OS systems
fixes https://github.com/docker/compose/issues/9388

Signed-off-by: MaxPeal <[email protected]>
MaxPeal 3 年之前
父節點
當前提交
5d809a2e89
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .github/workflows/release.yaml

+ 1 - 1
.github/workflows/release.yaml

@@ -36,7 +36,7 @@ jobs:
         run: make GIT_TAG=${{ github.event.inputs.tag }} -f builder.Makefile cross
 
       - name: Compute checksums
-        run: cd bin; for f in *; do shasum --algorithm 256 $f > $f.sha256; done
+        run: cd bin; for f in *; do shasum --binary --algorithm 256 $f | tee -a checksums.txt > $f.sha256; done
 
       - name: License
         run: cp packaging/* bin/