We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14dd2c6 commit 800a79aCopy full SHA for 800a79a
{{cookiecutter.name}}/Makefile
@@ -82,9 +82,10 @@ bump-version:
82
@read version && $(PY) -m cruft update --variables-to-update "{ \"version\" : \"$$version\" }"
83
84
bump-version-done:
85
- VERSION=$(shell jq -r '.version' .cruft.json | head -c8)
86
- $(GIT) commit -m "chore: Bump version to $(VERSION)"
87
- $(GIT) tag $(VERSION)
+ VERSION=$(shell jq -r '.context.cookiecutter.version' .cruft.json); \
+ $(GIT) commit -m "chore: Bump version to $$VERSION"; \
+ $(GIT) tag $$VERSION
88
+
89
90
################################################################################
91
# CUSTOM TARGETS
0 commit comments