update makefile

Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2021-12-14 18:51:57 -08:00
parent 789f0b2a3b
commit 20979713fe

View File

@ -7,7 +7,7 @@ endif
# For this to work, you need to install toml-cli: https://github.com/gnprice/toml-cli # For this to work, you need to install toml-cli: https://github.com/gnprice/toml-cli
# `cargo install toml-cli` # `cargo install toml-cli`
VERSION := $(shell toml get $(CURDIR)/kittycad/pyproject.toml version) VERSION := $(shell toml get $(CURDIR)/kittycad/pyproject.toml tool.poetry.version | jq -r .)
.PHONY: generate .PHONY: generate
generate: docker-image generate: docker-image
@ -25,8 +25,8 @@ docker-image:
.PHONY: tag .PHONY: tag
tag: ## Create a new git tag to prepare to build a release. tag: ## Create a new git tag to prepare to build a release.
git tag -sa $(VERSION) -m "$(VERSION)" git tag -sa "v$(VERSION)" -m "v$(VERSION)"
@echo "Run git push origin $(VERSION) to push your new tag to GitHub and trigger a release." @echo "Run git push origin v$(VERSION) to push your new tag to GitHub and trigger a release."
.PHONY: help .PHONY: help
help: help: