From 8534028bb40209a6c8f4c8e476ff8d2c6bbc4b58 Mon Sep 17 00:00:00 2001 From: Nicholas Nezis Date: Mon, 30 Aug 2021 21:21:43 +0000 Subject: [PATCH] Updated to allow for external Helm version when building on a non-versioned branch --- scripts/packages/BUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/packages/BUILD b/scripts/packages/BUILD index 67a185db980..2c8adc8f291 100644 --- a/scripts/packages/BUILD +++ b/scripts/packages/BUILD @@ -687,6 +687,7 @@ genrule( "export HERON_VERSION=$$(grep version $$RELEASE_FILE_DIR/$(location :release.yaml) | awk '{print $$3}')", 'export HERON_VERSION=$$(echo $$HERON_VERSION | sed -e "s/^\'//" -e "s/\'$$//")', "export HERON_VERSION=$$(echo $$HERON_VERSION | grep \"[0-9]*\\.[0-9]*\\.[0-9]*\")", + 'export HERON_VERSION=$$([[ ! -z $$HERON_VERSION_EXT ]] && echo $$HERON_VERSION_EXT || echo $$HERON_VERSION)', 'export HERON_VERSION=$$([[ -z $$HERON_VERSION ]] && echo "0.0.0" || echo $$HERON_VERSION)', "mkdir -p $$TMP_DIR $$HELM_DIR heron-charts", "cp $(SRCS) $$HELM_DIR",