diff --git a/containers/proxy-helm/proxy-helm.changes.cbosdo b/containers/proxy-helm/proxy-helm.changes.cbosdo new file mode 100644 index 000000000000..95cfadaaa2d6 --- /dev/null +++ b/containers/proxy-helm/proxy-helm.changes.cbosdo @@ -0,0 +1 @@ +- Remove the build tag with the release number diff --git a/containers/server-helm/server-helm.changes.cbosdo b/containers/server-helm/server-helm.changes.cbosdo new file mode 100644 index 000000000000..95cfadaaa2d6 --- /dev/null +++ b/containers/server-helm/server-helm.changes.cbosdo @@ -0,0 +1 @@ +- Remove the build tag with the release number diff --git a/rel-eng/chart_push.sh b/rel-eng/chart_push.sh index 156fa9dbb9f0..bb52f8d9fe8e 100644 --- a/rel-eng/chart_push.sh +++ b/rel-eng/chart_push.sh @@ -50,7 +50,7 @@ if [ -f "${SRPM_PKG_DIR}/Chart.yaml" ]; then # Remove leading zero from Uyuni release and add potentially missing micro part SEMANTIC_VERSION=$(echo ${PRODUCT_VERSION} | sed 's/\([0-9]\+\)\.0\?\([1-9][0-9]*\)\(\.\([0-9]\+\)\)\?\( .\+\)\?/\1.\2.\4\5/' | sed 's/\.$/.0/') # Also include the semantic version since helm chart wants it for OCI repos (those generated by OBS) - sed "/^#\!BuildTag:/ s/$/ ${NAME}:${SEMANTIC_VERSION} ${NAME}:${PRODUCT_VERSION} ${NAME}:${PRODUCT_VERSION}.%RELEASE%/" -i ${SRPM_PKG_DIR}/Chart.yaml + sed "/^#\!BuildTag:/ s/$/ ${NAME}:${SEMANTIC_VERSION} ${NAME}:${PRODUCT_VERSION}" -i ${SRPM_PKG_DIR}/Chart.yaml rm ${SRPM_PKG_DIR}/${PKG_NAME}.spec fi