mirror of
https://github.com/argoproj/argo-cd.git
synced 2026-02-20 01:28:45 +01:00
20 lines
751 B
Bash
Executable File
20 lines
751 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
# Usage: ./add-helm-checksums.sh <helm-version> # use the desired version e.g. 3.18.4
|
|
|
|
set -e
|
|
|
|
for arch in amd64 arm64 ppc64le s390x; do
|
|
checksumfile="helm-v$1-linux-$arch.tar.gz.sha256"
|
|
wget "https://get.helm.sh/helm-v$1-linux-$arch.tar.gz.sha256sum" -O "$checksumfile"
|
|
outname="$(git rev-parse --show-toplevel)/hack/installers/checksums/helm-v$1-linux-$arch.tar.gz.sha256"
|
|
mv "$checksumfile" "$outname"
|
|
done
|
|
|
|
for arch in amd64 arm64; do
|
|
checksumfile="helm-v$1-darwin-$arch.tar.gz.sha256"
|
|
wget "https://get.helm.sh/helm-v$1-darwin-$arch.tar.gz.sha256sum" -O "$checksumfile"
|
|
outname="$(git rev-parse --show-toplevel)/hack/installers/checksums/helm-v$1-darwin-$arch.tar.gz.sha256"
|
|
mv "$checksumfile" "$outname"
|
|
done
|