first commit
This commit is contained in:
6
Makefile
Normal file
6
Makefile
Normal file
@@ -0,0 +1,6 @@
|
||||
NEW_VERSION:=$(shell yq '.version |= (split(".") | .[-1] |= ((. tag = "!!int") + 1) | join("."))' Chart.yaml | yq '.version')
|
||||
|
||||
branch:
|
||||
@echo "New chart version is: $(NEW_VERSION)"
|
||||
git checkout -b lib_$(NEW_VERSION)
|
||||
yq '.version="$(NEW_VERSION)"' Chart.yaml
|
Reference in New Issue
Block a user