From e29dbda277f62005ec7634e8d7b1098e47964f34 Mon Sep 17 00:00:00 2001 From: Alex Lokshin Date: Thu, 16 Nov 2023 10:27:53 -0600 Subject: [PATCH] fix: Fix helm chart release regex (#2734) --- .github/workflows/charts-release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/charts-release.yml b/.github/workflows/charts-release.yml index bc8da06e85..8d943ad762 100644 --- a/.github/workflows/charts-release.yml +++ b/.github/workflows/charts-release.yml @@ -103,7 +103,8 @@ jobs: RELEASE=${{ needs.check-chart-released.outputs.tag }} VERSION=${{ steps.parse_version.outputs.result }} - sed -i "\d+\.\d+\.\d+/$VERSION/g" ${CHARTS_DIR}/Chart.yaml + sed -i 's/appVersion\:\s[0-9.]\+/appVersion\: ${VERSION}/g' ${CHARTS_DIR}/Chart.yaml + sed -i 's/version\:\s[0-9.]\+/version\: ${VERSION}/g' ${CHARTS_DIR}/Chart.yaml echo ------ cat ${CHARTS_DIR}/Chart.yaml echo ------