From 88e68ec8c2b1fedba83bd908f0949a1c6a808785 Mon Sep 17 00:00:00 2001 From: Miguel Ferreira Date: Tue, 8 Jun 2021 12:20:40 +0200 Subject: [PATCH] Fix all files sha for brew formula update PR in CD workflow --- .github/workflows/create-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml index 2ab1f4d..05bfc6e 100644 --- a/.github/workflows/create-release.yaml +++ b/.github/workflows/create-release.yaml @@ -90,7 +90,7 @@ jobs: for file in *; do sha256sum "${file}" > "${file}.sha256sum"; done tar czf all-files-${version}.tar.gz * sha256sum all-files-${version}.tar.gz > all-files-${version}.tar.gz.sha256sum - all_files_sha="$( cat all-files-${version}.tar.gz.sha256sum )" + all_files_sha="$( cat all-files-${version}.tar.gz.sha256sum | cut -f 1 -d ' ' )" cd .. # Create release text