From a50c42dd24d3c63de505774d920b3ddeb8481da9 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Tue, 15 Aug 2023 16:49:04 +0200 Subject: [PATCH] Add make minor command --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a276b168..312803a8 100644 --- a/Makefile +++ b/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))