From 927b8e19648cd4b38c636aedac9d346911a016d2 Mon Sep 17 00:00:00 2001 From: Andrew French Date: Thu, 21 Dec 2023 10:37:08 -0800 Subject: [PATCH 1/2] Split publish target to version/publish --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e9ca36da4..64c2eb48a 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,11 @@ -publish: +version: @poetry version $(v) @git add pyproject.toml @git commit -m "Version bump v$$(poetry version -s)" - @git tag v$$(poetry version -s) @git push + +publish: + @git tag v$$(poetry version -s) @git push --tags @poetry build - @poetry publish \ No newline at end of file + @poetry publish From a93ca948268ce692316df25f02ac1131a6e1af57 Mon Sep 17 00:00:00 2001 From: Andrew French Date: Thu, 21 Dec 2023 10:41:30 -0800 Subject: [PATCH 2/2] Push update to release branch --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 64c2eb48a..199628e3b 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ version: @poetry version $(v) @git add pyproject.toml @git commit -m "Version bump v$$(poetry version -s)" - @git push + @git push origin release/v$$(poetry version -s) publish: @git tag v$$(poetry version -s)