mirror of
https://github.com/helm/helm.git
synced 2026-08-07 00:21:27 +00:00
Create a single shasums.txt
Signed-off-by: Thilak Somasundaram <t2same@gmail.com>
This commit is contained in:
2
Makefile
2
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user