Create a single shasums.txt

Signed-off-by: Thilak Somasundaram <t2same@gmail.com>
pull/7277/head
Thilak Somasundaram 4 years ago
parent a9171fe2ca
commit 691eff46dc

@ -163,7 +163,7 @@ sign:
.PHONY: checksum
checksum:
if [ -f "_dist/shasums.txt" ]; then >_dist/shasums.txt; fi
@if [ -f "_dist/shasums.txt" ]; then >_dist/shasums.txt; fi
for f in _dist/*.{gz,zip} ; do \
shasum -a 256 "$${f}" | sed 's/_dist\///' | tee -a "_dist/shasums.txt" | awk '{print $$1}' > "$${f}.sha256" ; \
done

Loading…
Cancel
Save