From 38c12d89ec0fa21a81e108ab2198e3c86b2df827 Mon Sep 17 00:00:00 2001 From: Konstantin Selyunin Date: Tue, 26 Nov 2024 19:16:58 +0100 Subject: [PATCH] :wrench: dynamic versionning [#4] Add dynamic versioning based on tags. --- pyproject.toml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3aac060..610dadc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,10 @@ [build-system] -requires = ["poetry-core>=1.0.0"] -build-backend = "poetry.core.masonry.api" +requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"] +build-backend = "poetry_dynamic_versioning.backend" [tool.poetry] name = "umrx-app-v3" -version = "0.0.1" +version = "0.0.0" description = "Python COINES firmware communication" authors = [ "Konstantin Selyunin ", @@ -36,6 +36,9 @@ safety = ">=2.3.4,!=2.3.5" typeguard = ">=3.0.2" unittest-parametrize = "^1.4.0" +[tool.poetry-dynamic-versioning] +enable = true + [tool.coverage.report] fail_under = 50