From 004b2c01ff2cd3d1b5e6dea4fa43a7613b82e16f Mon Sep 17 00:00:00 2001 From: Edvard Rejthar Date: Mon, 20 Jan 2025 15:45:23 +0100 Subject: [PATCH] Makefile --- Makefile | 7 +++++++ convey/__init__.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d853dd3 --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +#export TAG := `grep version pyproject.toml | pz --search '"(\d+\.\d+\.\d+(?:rc\d+)?)?"'` +export TAG := `grep version convey/__init__.py | pz --search '"(\d+\.\d+\.\d+(?:rc\d+)?)?"'` + +release: + git tag $(TAG) + git push origin $(TAG) + #mkdocs gh-deploy diff --git a/convey/__init__.py b/convey/__init__.py index f751a1b..cdef3d6 100644 --- a/convey/__init__.py +++ b/convey/__init__.py @@ -1,4 +1,4 @@ from .decorators import PickMethod, PickInput __all__ = ["PickMethod", "PickInput"] -__version__ = "1.4.5" +__version__ = "1.4.6"