Skip to content

Commit 11e7ed6

Browse files
authored
CU-869bbj5u4: Add back some more complicated regex stuff to fix local installs (again) (#248)
1 parent 74b0726 commit 11e7ed6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

medcat-v2/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,9 @@ include = ["medcat*"]
141141
# look for .git folder in root of repo
142142
root = ".."
143143
version_scheme = "post-release"
144-
tag_regex = "^medcat/v(?P<version>\\d+(?:\\.\\d+)*)(?:[ab]\\d+|rc\\d+)?$"
144+
tag_regex = "^[Mm]ed[Cc][Aa][Tt]/v(?P<version>\\d+(?:\\.\\d+)*)(?:[ab]\\d+|rc\\d+)?$"
145145
local_scheme = "node-and-date"
146+
git_describe_command = "git describe --dirty --tags --long --match '[Mm]ed[Cc][Aa][Tt]/v*'"
146147

147148
[tool.ruff.lint]
148149
# 1. Enable some extra checks for ruff

0 commit comments

Comments
 (0)