Skip to content

Commit c1d2dc2

Browse files
committed
fix(ci): avoid dynamic if does not work
1 parent 0db4a8c commit c1d2dc2

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.bumpversion.cfg

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[bumpversion]
22
current_version = 5.1.0-rc3
33
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(-rc(?P<release>\d+))?
4-
serialize =
4+
serialize =
55
{major}.{minor}.{patch}-rc{release}
66
{major}.{minor}.{patch}
77
commit = True
@@ -11,10 +11,6 @@ message = chore(version): bump {current_version} to {new_version}
1111
search = __version__ = "{current_version}"
1212
replace = __version__ = "{new_version}"
1313

14-
[bumpversion:file:pyproject.toml]
15-
search = version = "{current_version}"
16-
replace = version = "{new_version}"
17-
1814
[bumpversion:file:CITATION.cff]
1915
search = version: v{current_version}
2016
replace = version: v{new_version}

pyproject.toml

+7-1
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,11 @@ dependencies = [
3535
"tqdm>=4.64.1",
3636
]
3737
description = "Tool for live presentations using manim"
38-
dynamic = ["license", "readme"]
38+
dynamic = ["version"]
3939
keywords = ["manim", "slides", "plugin", "manimgl"]
40+
license = {text = "MIT"}
4041
name = "manim-slides"
42+
readme = "README.md"
4143
requires-python = ">=3.8,<3.12"
4244
version = "5.1.0-rc3"
4345

@@ -102,6 +104,10 @@ test = [
102104
"pytest-xdist>=3.3.1",
103105
]
104106

107+
[tool.pdm.version]
108+
path = "manim_slides/__version__.py"
109+
source = "file"
110+
105111
[tool.pytest.ini_options]
106112
env = [
107113
"QT_QPA_PLATFORM=offscreen",

0 commit comments

Comments
 (0)