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 version: ## Display the current version
@hatch version @hatch version
.PHONY: bump .PHONY: patch
bump: ## Bump the current version to a new minor one patch: ## Bump the current version to a new patch one
@hatch version fix @hatch version fix
.PHONY: minor
minor: ## Bump the current version to a new minor one
@hatch version minor
.PHONY: docker .PHONY: docker
docker: ## Create a new Docker image and publish it docker: ## Create a new Docker image and publish it
$(eval VERSION=$(shell hatch version)) $(eval VERSION=$(shell hatch version))