From b82ed1e9730b202d76b25a144840f53421efc8b6 Mon Sep 17 00:00:00 2001 From: Vasyl Saienko Date: Tue, 24 Sep 2024 11:08:53 +0000 Subject: [PATCH] Allow to package charts in specified directory Use make PACKAGE_DIR=/foo/bar/ Change-Id: I0dadeb86cf643e07cea5fc603972d5c3bab4a039 --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 42b18c0399..ca559bdf84 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,9 @@ ifdef VERSION PKG_ARGS += --version $(VERSION) endif +ifdef PACKAGE_DIR + PKG_ARGS += --destination $(PACKAGE_DIR) +endif EXCLUDES := helm-toolkit doc tests tools logs tmp zuul.d releasenotes roles CHARTS := helm-toolkit $(filter-out $(EXCLUDES), $(patsubst %/.,%,$(wildcard */.)))