Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
Updated to allow for external Helm version when building on a non-ver…
Browse files Browse the repository at this point in the history
…sioned branch (#3708)
  • Loading branch information
nicknezis authored Sep 2, 2021
1 parent 4d9a7de commit b2a4e82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/packages/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit b2a4e82

Please sign in to comment.