mirror of https://github.com/docker/compose.git
ci: bring back individual checksum files
Signed-off-by: Nick Sieger <nick@nicksieger.com>
This commit is contained in:
parent
23deefd20c
commit
63b126622d
|
@ -199,9 +199,10 @@ jobs:
|
||||||
name: Create checksums
|
name: Create checksums
|
||||||
working-directory: ${{ env.DESTDIR }}
|
working-directory: ${{ env.DESTDIR }}
|
||||||
run: |
|
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
|
shasum -a 256 -U -c $RUNNER_TEMP/checksums.txt
|
||||||
mv $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
|
name: License
|
||||||
run: cp packaging/* ${{ env.DESTDIR }}/
|
run: cp packaging/* ${{ env.DESTDIR }}/
|
||||||
|
|
Loading…
Reference in New Issue