Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use helm package flag to set version in generate chart release #3648

Merged
merged 1 commit into from
Aug 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions hack/generate-charts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,5 @@ CHART_OUT_PATH=${RELEASE_FOLDER}/chart
rm -rf ${RELEASE_FOLDER}/chart
cp -r "${CHART_ORIGIN_PATH}" "${CHART_OUT_PATH}"
sed_i "s|image_tag_version: \"latest\"|image_tag_version: \"${VOLCANO_IMAGE_TAG}\"|g" $(find ${CHART_OUT_PATH} -type f | grep values.yaml)
sed_i "s|version: 1.5|version: ${VOLCANO_CHART_VERSION}|g" $(find ${CHART_OUT_PATH} -type f | grep Chart.yaml)
sed_i "s|appVersion: 0.1|appVersion: ${VOLCANO_CHART_VERSION}|g" $(find ${CHART_OUT_PATH} -type f | grep Chart.yaml)
helm package "${CHART_OUT_PATH}/volcano" -d "${CHART_OUT_PATH}"
helm package --version ${VOLCANO_CHART_VERSION} --app-version ${VOLCANO_CHART_VERSION} "${CHART_OUT_PATH}/volcano" -d "${CHART_OUT_PATH}"
echo "helm package end, charts is in ${CHART_OUT_PATH}"
Loading