Skip to content

Commit

Permalink
🤖 add build command
Browse files Browse the repository at this point in the history
  • Loading branch information
H0R5E committed Apr 9, 2024
1 parent a23664e commit 9718542
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ jobs:
github_token: ${{ secrets.ADMIN_TOKEN }}
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
if: steps.release.outputs.released == 'true' && env.GIT_COMMIT_COMMITTER_NAME != 'github-actions'
if: steps.release.outputs.released == 'true'
- name: Publish package distributions to GitHub Releases
uses: python-semantic-release/upload-to-gh-release@main
if: steps.release.outputs.released == 'true' && env.GIT_COMMIT_COMMITTER_NAME != 'github-actions'
if: steps.release.outputs.released == 'true'
with:
github_token: ${{ secrets.ADMIN_TOKEN }}
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ filterwarnings = [
doctest_optionflags = "NORMALIZE_WHITESPACE"

[tool.semantic_release]
build_command = "python -m build"
version_toml = [
"pyproject.toml:project.version",
]
Expand Down

0 comments on commit 9718542

Please sign in to comment.