Skip to content

Commit

Permalink
fix: 增加[tool.semantic_release]
Browse files Browse the repository at this point in the history
  • Loading branch information
maye1989 committed Jul 14, 2024
1 parent 6739c1e commit fa3eca8
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,32 @@ mypy = "^1.3.0"
pdoc3 = "^0.10.0"
notebook = "^6.5.4"

[tool.semantic_release]
version_toml = [
"pyproject.toml:tool.poetry.version"
]

branch = "main"
upload_to_PyPI = true
upload_to_release = true
commit_author = "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"

[tool.semantic_release.commit_parser_options]
allowed_tags = [
"build",
"chore",
"ci",
"docs",
"feat",
"fix",
"perf",
"style",
"refactor",
"test"
]
minor_tags = ["feat"]
patch_tags = ["fix", "perf"]

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

0 comments on commit fa3eca8

Please sign in to comment.