Skip to content

Commit cd5718d

Browse files
committed
fix: install build module within semantic-release build command
1 parent e2db367 commit cd5718d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ jobs:
3434
- name: Install dependencies
3535
run: |
3636
uv sync --dev
37-
pip install build twine
38-
37+
3938
- name: Run tests
4039
run: |
4140
uv run pytest tests/ -v

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ pythonpath = ["src"]
5656

5757
[tool.semantic_release]
5858
version_toml = ["pyproject.toml:project.version"]
59-
build_command = "python -m build"
59+
build_command = "pip install build && python -m build"
6060
dist_path = "dist/"
6161
upload_to_pypi = true
6262
upload_to_release = true

0 commit comments

Comments
 (0)