From 68896930069c29e7c0c2ec45012545b2fdcf3a07 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 27 Oct 2024 13:18:40 +0300 Subject: [PATCH] Release commands --- Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index eb7a095..ae6912b 100644 --- a/Makefile +++ b/Makefile @@ -37,8 +37,15 @@ tag: pdm run hatch version "${v}" git tag -a ${v} -m "${v}" -release: - git add . && git commit -m "Bump version" && git push origin $(git describe --tags $(git rev-list --tags --max-count=1)) +release-patch: + hatch version patch + git add . && git commit -m "Bump version" + git push origin $(git describe --tags $(git rev-list --tags --max-count=1)) + +release-minor: + hatch version minor + git add . && git commit -m "Bump version" + git push origin $(git describe --tags $(git rev-list --tags --max-count=1)) mypy: pdm run mypy src