Skip to content

Commit 66c4566

Browse files
update helm-project-operator build-chart destination
Signed-off-by: Alexandre Lamarre <[email protected]>
1 parent 4d6758c commit 66c4566

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/build-chart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,12 @@ elif [ "$BUILD_TARGET" == "helm-project-operator" ]; then
3535
# Prepare base chart for build
3636
clean-old-charts "$CHART"
3737
cp -rf "examples/${BUILD_TARGET}/${CHART}" build/charts/
38-
38+
CHART_DESTINATION="./build/charts/${CHART}-${CHART_VERSION}.tgz"
3939
# Update the chart placeholders
4040
edit-chart "build/charts/${CHART}/Chart.yaml" "${HELM_CHART_VERSION}" "${HELM_IMAGE_TAG}"
4141
package-chart "./build/charts/${CHART}" ./build/charts
42-
4342
# Prepare chart for embedding location
44-
base64 -i "./build/charts/${CHART}-0.0.0.tgz" > "pkg/chart/build/${CHART}.tgz.base64"
43+
base64 -i $CHART_DESTINATION > "pkg/chart/build/${CHART}.tgz.base64"
4544
fi
4645

4746
echo "Completed ${CHART} (ver: ${HELM_CHART_VERSION:-"n/a"}) chart build process."

0 commit comments

Comments
 (0)