mirror of https://github.com/docker/buildx.git
Merge pull request #1095 from crazy-max/fix-checksum-file
release: fix checksum file
This commit is contained in:
commit
e0cffbdbdf
|
@ -18,3 +18,9 @@ if ! type shasum > /dev/null 2>&1; then
|
|||
exit 1
|
||||
fi
|
||||
find ./${RELEASE_OUT}/ -type f \( -iname "buildx-*" ! -iname "*darwin*" \) -print0 | sort -z | xargs -r0 shasum -a 256 -b | sed 's# .*/# #' > ./${RELEASE_OUT}/checksums.txt
|
||||
|
||||
# verify
|
||||
(
|
||||
cd ./${RELEASE_OUT}
|
||||
shasum -a 256 -U -c checksums.txt
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue