From a1655f36c25befd30714e8dec27f77904fa62754 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 27 Oct 2024 13:26:09 +0300 Subject: [PATCH] Improve release commands --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index ae6912b..57c2f36 100644 --- a/Makefile +++ b/Makefile @@ -37,15 +37,18 @@ tag: pdm run hatch version "${v}" git tag -a ${v} -m "${v}" +release: + git add . && git commit -m "Bump version" && git push + git tag -a $(hatch 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)) + make release 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)) + make release mypy: pdm run mypy src