Add make minor command
This commit is contained in:
parent
0e81030481
commit
a50c42dd24
1 changed files with 6 additions and 2 deletions
8
Makefile
8
Makefile
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue