Skip to content

Commit

Permalink
Update Chart appVersion on release
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
JAORMX committed Jun 5, 2023
1 parent c76cee2 commit 95ba466
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 95ba466

Please sign in to comment.