Skip to content

Commit bf050d1

Browse files
authored
chore(ci): update release build for python-semantic-release v8 (#2692)
1 parent 0f4a346 commit bf050d1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/release.yml

+3
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

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,11 @@ 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
]
94-
commit_subject = "chore: release v{version}"
95-
commit_message = ""
95+
commit_message = "chore: release v{version}"
9696

9797
[tool.pylint.messages_control]
9898
max-line-length = 88

0 commit comments

Comments
 (0)