Skip to content

Commit c869c97

Browse files
committed
build: Declare tag pattern for uv-dynamic-versioning (no v prefix)
Upstream-issue: ninoseki/uv-dynamic-versioning#83
1 parent cb535e0 commit c869c97

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

packages/griffecli/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ classifiers = [
3939
[project.scripts]
4040
griffecli = "griffecli:main"
4141

42+
[tool.uv-dynamic-versioning]
43+
pattern = '(?P<base>\d+\.\d+\.\d+)'
44+
4245
[tool.hatch.version]
4346
source = "code"
4447
path = "../../scripts/get_version.py"

packages/griffelib/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ classifiers = [
4141
# to download and inspect packages from PyPI.
4242
pypi = ["pip>=24.0", "platformdirs>=4.2", "wheel>=0.42"]
4343

44+
[tool.uv-dynamic-versioning]
45+
pattern = '(?P<base>\d+\.\d+\.\d+)'
46+
4447
[tool.hatch.version]
4548
source = "code"
4649
path = "../../scripts/get_version.py"

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ Funding = "https://github.com/sponsors/pawamoy"
5050
[project.scripts]
5151
griffe = "griffecli:main"
5252

53+
[tool.uv-dynamic-versioning]
54+
pattern = '(?P<base>\d+\.\d+\.\d+)'
55+
5356
[tool.hatch.version]
5457
source = "code"
5558
path = "scripts/get_version.py"

0 commit comments

Comments
 (0)