From fabcabe31d13c6a771e3f501f5cbbe9e09fca483 Mon Sep 17 00:00:00 2001 From: Robert Taylor Date: Thu, 19 Jan 2023 15:55:34 +0000 Subject: [PATCH] Add pattern back in for git tag versioning --- pyproject.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 64e1efce..caf2fb7c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,6 +15,12 @@ dirty = true vcs = "git" style = "pep440" metadata = "true" +pattern = ''' + (?x) + ^coriolis-((?P\d+)!)?(?P\d+(\.\d+)*) + ([-._]?((?P[a-zA-Z]+)[-._]?(?P\d+)?))? + (\+(?P.+))?$ +''' [tool.poetry.dependencies] python = "^3.8"