From 4e4e1b9dd3c17dd59dfe00bbfe21559fc3747f4c Mon Sep 17 00:00:00 2001 From: Alexandre Lamarre Date: Tue, 28 Jan 2025 14:16:36 -0500 Subject: [PATCH] update helm-project-operator build-chart destination Signed-off-by: Alexandre Lamarre --- scripts/build-chart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/build-chart b/scripts/build-chart index caed33d1..1aeee6b9 100755 --- a/scripts/build-chart +++ b/scripts/build-chart @@ -35,13 +35,12 @@ elif [ "$BUILD_TARGET" == "helm-project-operator" ]; then # Prepare base chart for build clean-old-charts "$CHART" cp -rf "examples/${BUILD_TARGET}/${CHART}" build/charts/ - + CHART_DESTINATION="./build/charts/${CHART}-${HELM_CHART_VERSION}.tgz" # Update the chart placeholders edit-chart "build/charts/${CHART}/Chart.yaml" "${HELM_CHART_VERSION}" "${HELM_IMAGE_TAG}" package-chart "./build/charts/${CHART}" ./build/charts - # Prepare chart for embedding location - base64 -i "./build/charts/${CHART}-0.0.0.tgz" > "pkg/chart/build/${CHART}.tgz.base64" + base64 -i $CHART_DESTINATION > "pkg/chart/build/${CHART}.tgz.base64" fi echo "Completed ${CHART} (ver: ${HELM_CHART_VERSION:-"n/a"}) chart build process." \ No newline at end of file