Skip to content

Commit 3e20a76

Browse files
nejchJohnVillalovos
authored andcommitted
chore(ci): follow upstream config for release build_command
1 parent bf050d1 commit 3e20a76

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ jobs:
1919
fetch-depth: 0
2020
token: ${{ secrets.RELEASE_GITHUB_TOKEN }}
2121

22-
- name: Install build dependency
23-
run: pip install build
24-
2522
- name: Python Semantic Release
2623
uses: python-semantic-release/python-semantic-release@v8.1.2
2724
with:

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,10 @@ disable_error_code = ["no-untyped-def"]
8888

8989
[tool.semantic_release]
9090
branch = "main"
91-
build_command = "python -m build ."
91+
build_command = """
92+
python -m pip install build~=0.10.0
93+
python -m build .
94+
"""
9295
version_variables = [
9396
"gitlab/_version.py:__version__",
9497
]

0 commit comments

Comments
 (0)