Skip to content

Commit

Permalink
Changes required to prefix versions with 'v'. (#6298)
Browse files Browse the repository at this point in the history
* Changes required to prefix version with 'v'.

Signed-off-by: Michael Montgomery <[email protected]>
  • Loading branch information
naemono authored Feb 7, 2023
1 parent e4cf68b commit 83259ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .ci/setenvconfig
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ GO_TAGS=release
export LICENSE_PUBKEY=${PROJECT_PATH}/.ci/license.key
SNAPSHOT=false
IMG_VERSION=$TAG_NAME
IMG_VERSION=${TAG_NAME#"v"}
ENV

fi
Expand Down
4 changes: 2 additions & 2 deletions hack/manifest-gen/manifest-gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ update_chart() {
kubectl kustomize "${SCRIPT_DIR}/crd_patches/v1" > "${CRD_CHART_DIR}/templates/all-crds.yaml"

# Update the versions in the main chart
"$SED" -E "s#appVersion: [0-9]+\.[0-9]+\.[0-9]+.*#appVersion: $VERSION#" "${CHART_DIR}/Chart.yaml"
"$SED" -E "s#appVersion: [0-9]+\.[0-9]+\.[0-9]+.*#appVersion: ${VERSION}#" "${CHART_DIR}/Chart.yaml"
"$SED" -E "s#version: [0-9]+\.[0-9]+\.[0-9]+.*#version: $VERSION#" "${CHART_DIR}/Chart.yaml"

# Update the versions in the CRD chart
"$SED" -E "s#appVersion: [0-9]+\.[0-9]+\.[0-9]+.*#appVersion: $VERSION#" "${CRD_CHART_DIR}/Chart.yaml"
"$SED" -E "s#appVersion: [0-9]+\.[0-9]+\.[0-9]+.*#appVersion: ${VERSION}#" "${CRD_CHART_DIR}/Chart.yaml"
"$SED" -E "s#version: [0-9]+\.[0-9]+\.[0-9]+.*#version: $VERSION#" "${CRD_CHART_DIR}/Chart.yaml"
}

Expand Down

0 comments on commit 83259ac

Please sign in to comment.