Skip to content

Commit bc3fe86

Browse files
committed
chore(ci): update release build for python-semantic-release v8
1 parent 0f4a346 commit bc3fe86

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/release.yml

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

22+
- name: Install build dependency
23+
run: pip install build
24+
2225
- name: Python Semantic Release
2326
uses: python-semantic-release/python-semantic-release@v8.1.2
2427
with:

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ disable_error_code = ["no-untyped-def"]
8888

8989
[tool.semantic_release]
9090
branch = "main"
91+
build_command = "python -m build ."
9192
version_variables = [
9293
"gitlab/_version.py:__version__",
9394
]

0 commit comments

Comments
 (0)