blob: 01cc3802952e1f55309cc673cbb9aaaed52a6a38 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
VERSION := "invalid"
DOWNLOAD_BASEURL := "https://get.helm.sh"
.PHONY: clean
all: i386/helm amd64/helm
%/helm: helm-v$(VERSION)-linux-%.tar.gz
mkdir -p $(shell echo $@ | sed 's#/.*##')
tar -C $(shell echo $@ | sed 's#/.*##') -xzf "$<" --strip-components=1
helm-v$(VERSION)-linux-%.tar.gz:
wget -nc --progress=dot:mega "$(DOWNLOAD_BASEURL)/$(shell echo $@ | sed s/i386/386/)" -O "$@"
sha256sum -c --ignore-missing sha256sums.txt
clean:
rm -rf i386
rm -rf amd64
rm -f helm-v$(VERSION)-linux-*.tar.gz
|