Add make minor command

This commit is contained in:
Yohan Boniface 2023-08-15 16:49:04 +02:00
parent 0e81030481
commit a50c42dd24

View file

@ -21,10 +21,14 @@ lint-templates: ## Lint template files
version: ## Display the current version
@hatch version
.PHONY: bump
bump: ## Bump the current version to a new minor one
.PHONY: patch
patch: ## Bump the current version to a new patch one
@hatch version fix
.PHONY: minor
minor: ## Bump the current version to a new minor one
@hatch version minor
.PHONY: docker
docker: ## Create a new Docker image and publish it
$(eval VERSION=$(shell hatch version))