From dac8d68ec18c3cc198f3e9b1935f60a31530cba0 Mon Sep 17 00:00:00 2001 From: woa7 <7572779+woa7@users.noreply.github.com> Date: Thu, 14 Apr 2022 07:24:23 +0200 Subject: [PATCH] fix missing '*' in checksums.txt the created checksums.txt file is not properly formatted. this fixes the Creation of the checksums for the build artifacts fixes https://github.com/docker/buildx/issues/1070 Signed-off-by: woa7 <7572779+woa7@users.noreply.github.com> --- hack/release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/release b/hack/release index 4e9471c3..75ee7b6b 100755 --- a/hack/release +++ b/hack/release @@ -17,4 +17,4 @@ if ! type shasum > /dev/null 2>&1; then echo >&2 "ERROR: shasum is required" 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 +find ./${RELEASE_OUT}/ -type f \( -iname "buildx-*" ! -iname "*darwin*" \) -print0 | sort -z | xargs -r0 shasum -a 256 -b | sed 's# .*/# *#' > ./${RELEASE_OUT}/checksums.txt