From d2c9ae567f5b1951d404b889d758ecce37b06806 Mon Sep 17 00:00:00 2001 From: yxxhero Date: Mon, 26 May 2025 06:39:39 +0800 Subject: [PATCH] refactor(Makefile): use HELM_DATA_HOME instead of HELM_HOME Signed-off-by: yxxhero --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 286c9814..1d9929be 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -HELM_HOME ?= $(shell helm home) +HELM_DATA_HOME ?= $(shell helm env HELM_DATA_HOME) VERSION := $(shell sed -n -e 's/version:[ "]*\([^"]*\).*/\1/p' plugin.yaml) HELM_3_PLUGINS := $(shell helm env HELM_PLUGINS) @@ -15,9 +15,9 @@ format: .PHONY: install install: build - mkdir -p $(HELM_HOME)/plugins/helm-diff/bin - cp bin/diff $(HELM_HOME)/plugins/helm-diff/bin - cp plugin.yaml $(HELM_HOME)/plugins/helm-diff/ + mkdir -p $(HELM_DATA_HOME)/plugins/helm-diff/bin + cp bin/diff $(HELM_DATA_HOME)/plugins/helm-diff/bin + cp plugin.yaml $(HELM_DATA_HOME)/plugins/helm-diff/ .PHONY: install/helm3 install/helm3: build