From a31e43c5e7537659adc72a9ebe8f3407a631b686 Mon Sep 17 00:00:00 2001 From: vankichi Date: Wed, 13 Nov 2024 15:25:00 +0900 Subject: [PATCH] :recycle: Fix Signed-off-by: vankichi --- Makefile.d/helm.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.d/helm.mk b/Makefile.d/helm.mk index 8429dc1a37..38c9309036 100644 --- a/Makefile.d/helm.mk +++ b/Makefile.d/helm.mk @@ -21,11 +21,11 @@ helm/install: $(BINDIR)/helm $(BINDIR)/helm: mkdir -p $(BINDIR) $(eval DARCH := $(subst aarch64,arm64,$(ARCH))) - TAR_NAME=helm-$(HELM_VERSION)-$(OS)-$(subst x86_64,amd64,$(shell echo $(DARCH) | tr '[:upper:]' '[:lower:]')).tar.gz \ + TAR_NAME=helm-$(HELM_VERSION)-$(OS)-$(subst x86_64,amd64,$(shell echo $(DARCH) | tr '[:upper:]' '[:lower:]')) \ && cd $(TEMP_DIR) \ - && curl -fsSL "https://github.com/helm/helm/releases/download/$(HELM_VERSION)/$${TAR_NAME}" -o "$(TEMP_DIR)/$${TAR_NAME}" + && curl -fsSL "https://get.helm.sh/$${TAR_NAME}.tar.gz" -o "$(TEMP_DIR)/$${TAR_NAME}" \ && tar xzvf "$(TEMP_DIR)/$${TAR_NAME}" \ - && mv helm $(BINDIR)/helm + && mv $(OS)-$(subst x86_64,amd64,$(shell echo $(DARCH) | tr '[:upper:]' '[:lower:]'))/helm $(BINDIR)/helm .PHONY: helm-docs/install ## install helm-docs