Skip to content

Commit ba8d321

Browse files
committed
fix CI
1 parent 99b3620 commit ba8d321

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ installer = "uv"
7171
reactpy = "reactpy._console.cli:entry_point"
7272

7373
[[tool.hatch.build.hooks.build-scripts.scripts]]
74-
commands = ['python "{root}/src/build_scripts/build_local_wheel.py"']
75-
artifacts = ["{root}/src/reactpy/static/wheels/*.whl"]
74+
commands = ['python "src/build_scripts/build_local_wheel.py"']
75+
artifacts = ["src/reactpy/static/wheels/*.whl"]
7676

7777
#############################
7878
# >>> Hatch Test Runner <<< #

src/build_scripts/build_local_wheel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def _reactpy_version(root_dir: Path) -> str:
2525
init_file.read_text(encoding="utf-8"),
2626
re.MULTILINE,
2727
):
28-
return match.group(1)
28+
return match[1]
2929
raise RuntimeError("Could not determine the current ReactPy version.")
3030

3131

0 commit comments

Comments
 (0)