fixed pre-commit

This commit is contained in:
Jonas Forsberg
2024-10-19 08:53:12 +02:00
parent 82caca32d4
commit 088ce48d6c
2 changed files with 3 additions and 22 deletions

View File

@@ -1,7 +1,8 @@
NEW_VERSION:=$(shell yq '.version |= (split(".") | .[-1] |= ((. tag = "!!int") + 1) | join("."))' Chart.yaml | yq '.version')
init:
git config core.hooksPath .githooks
pre-commit:
pip install pre-commit
pre-commit install
branch:
@echo "New chart version is: $(NEW_VERSION)"