Modify helmrepo to work with new directory structure
Change-Id: I33b708028d0c798102f03768748ad5131da4ff46
diff --git a/scripts/helmrepo.sh b/scripts/helmrepo.sh
index 0405e55..1f35147 100755
--- a/scripts/helmrepo.sh
+++ b/scripts/helmrepo.sh
@@ -25,7 +25,7 @@
REPO_DIR="${REPO_DIR:-chart_repo}"
GERRIT_BRANCH="${GERRIT_BRANCH:-$(git symbolic-ref --short HEAD)}"
-PUBLISH_URL="${PUBLISH_URL:-https://charts.opencord.org/${GERRIT_BRANCH}}"
+PUBLISH_URL="${PUBLISH_URL:-https://charts.opencord.org}"
mkdir -p "${REPO_DIR}"
@@ -41,7 +41,7 @@
echo "Generating repo index"
-helm repo index "${REPO_DIR}" --url "${PUBLISH_URL}"
+helm repo index "${REPO_DIR}" --url "${PUBLISH_URL}" --merge
echo "Finished, chart repo generated: ${REPO_DIR}"