From 63b126622dfad21deb60b366d84d3f7121ac21e5 Mon Sep 17 00:00:00 2001 From: Nick Sieger Date: Wed, 24 Aug 2022 09:04:54 -0500 Subject: [PATCH] ci: bring back individual checksum files Signed-off-by: Nick Sieger --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f269bfe1..0f4675cc6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -199,9 +199,10 @@ jobs: name: Create checksums working-directory: ${{ env.DESTDIR }} run: | - find . -type f -print0 | sort -z | xargs -r0 shasum -a 256 -b | sed 's# .*/# #' > $RUNNER_TEMP/checksums.txt + find . -type f -print0 | sort -z | xargs -r0 shasum -a 256 -b | sed 's# \*\./# *#' > $RUNNER_TEMP/checksums.txt shasum -a 256 -U -c $RUNNER_TEMP/checksums.txt mv $RUNNER_TEMP/checksums.txt . + cat checksums.txt | while read sum file; do echo "$sum $file" > ${file#\*}.sha256; done - name: License run: cp packaging/* ${{ env.DESTDIR }}/