From 95ba466805475455d28b08d0458de2f106ad7b3d Mon Sep 17 00:00:00 2001 From: Juan Antonio Osorio Date: Mon, 5 Jun 2023 09:29:07 +0300 Subject: [PATCH] Update Chart appVersion on release The app version should reflect the version of the supported krakend release, this PR updates the `release` Makefile target to do so. This now requires the `yq` command to be installed on the release manager's machine. Signed-off-by: Juan Antonio Osorio --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 0e99008..bb22361 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ release: ## Issues a release @echo "Releasing v$(TAG)" git checkout -b "release-$(TAG)" sed -i "s%version: .*%version: $(TAG)%" Chart.yaml + sed -i "s%appVersion: .*%appVersion: $(shell yq '.image.tag' values.yaml)%" Chart.yaml helm-docs git add README.md git add Chart.yaml