Skip to content

Commit

Permalink
Fix make/helm versioning based on git tag
Browse files Browse the repository at this point in the history
  • Loading branch information
jmorganca committed Jul 13, 2021
1 parent 3e3ad02 commit 64dfd77
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,12 @@ test:

.PHONY: helm
helm:
helm package --version $(tag:v%=%) --app-version $(tag:v%=%) -d ./helm helm/charts/infra helm/charts/infra/charts/engine
sed -i.bak 's/0.0.0-development/$(tag:v%=%)/g' helm/charts/infra/Chart.yaml
sed -i.bak 's/0.0.0-development/$(tag:v%=%)/g' helm/charts/infra/charts/engine/Chart.yaml
helm package -d ./helm helm/charts/infra helm/charts/infra/charts/engine
helm repo index ./helm
mv helm/charts/infra/Chart.yaml.bak helm/charts/infra/Chart.yaml
mv helm/charts/infra/charts/engine/Chart.yaml.bak helm/charts/infra/charts/engine/Chart.yaml

.PHONY: docs
docs:
Expand Down

0 comments on commit 64dfd77

Please sign in to comment.