common-helm-lib/Makefile

12 lines
318 B
Makefile
Raw Permalink Normal View History

2024-10-15 14:19:57 +00:00
NEW_VERSION:=$(shell yq '.version |= (split(".") | .[-1] |= ((. tag = "!!int") + 1) | join("."))' Chart.yaml | yq '.version')
2024-10-19 06:54:28 +00:00
2024-10-19 06:53:12 +00:00
pre-commit:
pip install pre-commit
pre-commit install
2024-10-18 14:02:44 +00:00
2024-10-15 14:19:57 +00:00
branch:
@echo "New chart version is: $(NEW_VERSION)"
git checkout -b lib_$(NEW_VERSION)
yq '.version="$(NEW_VERSION)"' Chart.yaml