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
|
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))
|
||||||
|
|
Loading…
Reference in a new issue