Skip to content

Commit

Permalink
chore(ci): follow upstream config for release build_command
Browse files Browse the repository at this point in the history
  • Loading branch information
nejch authored and JohnVillalovos committed Oct 17, 2023
1 parent bf050d1 commit 3e20a76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Expand Up @@ -19,9 +19,6 @@ jobs:
fetch-depth: 0
token: ${{ secrets.RELEASE_GITHUB_TOKEN }}

- name: Install build dependency
run: pip install build

- name: Python Semantic Release
uses: python-semantic-release/python-semantic-release@v8.1.2
with:
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Expand Up @@ -88,7 +88,10 @@ disable_error_code = ["no-untyped-def"]

[tool.semantic_release]
branch = "main"
build_command = "python -m build ."
build_command = """
python -m pip install build~=0.10.0
python -m build .
"""
version_variables = [
"gitlab/_version.py:__version__",
]
Expand Down

0 comments on commit 3e20a76

Please sign in to comment.