Explorar o código

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 %!s(int64=3) %!d(string=hai) anos
pai
achega
5d809a2e89
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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/