Skip to content

Commit

Permalink
chore:Update pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
AtticusZeller authored Jan 11, 2024
1 parent a405374 commit 295a2aa
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@ trio = "^0.24.0"
[tool.poetry.scripts]
tests = 'poetry_scripts:run_tests'

[tool.semantic_release]
version_variable = "pyproject.toml:tool.poetry.version"
branch = "main"
upload_to_PyPI = false # 禁用上传到 PyPI
upload_to_release = true # 启用上传到 GitHub Releases
build_command = "pip install poetry && poetry build"
commit_message = "chore(release): bump version to v{version}"
changelog_components = "semantic_release.changelog.changelog_headers,semantic_release.changelog.compare_url"


[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

0 comments on commit 295a2aa

Please sign in to comment.