diff --git a/charts/charts.mk b/charts/charts.mk index 83e82f1..dfe68b4 100644 --- a/charts/charts.mk +++ b/charts/charts.mk @@ -101,7 +101,7 @@ release/chart/tag: echo "release/chart/tag: tree must be clean" >&2 ;\ exit 1 ;\ fi; \ - chart_ver=`grep 'version:' $(CHART_DIR)/Chart.yaml | awk ' { print $$2 }'` ; \ + chart_ver=`grep '^version:' $(CHART_DIR)/Chart.yaml | awk ' { print $$2 }'` ; \ chart_ver=chart-v$${chart_ver} ; \ git tag -m "Tagging $${chart_ver}" -a $${chart_ver} ; \ git push origin $${chart_ver} ; \