mirror of https://github.com/helm/helm
Previously, when there is no *.{gz,zip} files under _dist, the wildcard will be expanded to 2 strings '_dist/*.gz' and '_dist/*.zip'(see below). helm$ ls _dist helm$ make checksum for f in _dist/*.{gz,zip} ; do \ shasum -a 256 "${f}" | sed 's/_dist\///' > "${f}.sha256sum" ; \ shasum -a 256 "${f}" | awk '{print $1}' > "${f}.sha256" ; \ done shasum: _dist/*.gz: shasum: _dist/*.gz: shasum: _dist/*.zip: shasum: _dist/*.zip: helm$ ls _dist '*.gz.sha256' '*.gz.sha256sum' '*.zip.sha256' '*.zip.sha256sum' Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>pull/8738/head
parent
f9077ecd65
commit
d1c8561be6
Loading…
Reference in new issue