From cd3ad03c191dec3a72c50303f365f90fb2e9bfee Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Tue, 16 Apr 2024 18:11:29 +0200 Subject: [PATCH] Fix: Take future tag version on change-release Signed-off-by: Knut Ahlers --- ci/patch-chart-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/patch-chart-version.sh b/ci/patch-chart-version.sh index 6db077b..7f4bcc9 100755 --- a/ci/patch-chart-version.sh +++ b/ci/patch-chart-version.sh @@ -4,7 +4,7 @@ set -euo pipefail chart_yaml=charts/latestver/Chart.yaml # Patch latest App-Version into Chart -yq -iP ".appVersion = \"$(git describe --tags --abbrev=0)\"" ${chart_yaml} +yq -iP ".appVersion = \"v${TAG_VERSION}\"" ${chart_yaml} # Validate there has been a change before patching the chart version git diff --exit-code -- ${chart_yaml} >/dev/null && exit 0 || true