-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
35 lines (31 loc) · 998 Bytes
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[tool.semantic_release]
version_variable = "pr-diff-bot/__init__.py:__version__"
branch = "main"
upload_to_pypi = false
upload_to_release = true
build_command = ""
commit_message = "chore(release): {version}"
commit_parser = "angular"
changelog_components = "semantic_release.changelog.changelog"
changelog_file = "CHANGELOG.md"
# Configure version bumping
major_on_zero = true
patch_without_tag = true
version_source = "tag"
check_build_status = false
# Configure version bumping rules
[tool.semantic_release.commit_parser_options]
allowed_tags = ["feat", "fix", "perf"]
minor_tags = ["feat"]
patch_tags = ["fix", "perf"]
# Configure commit parsing
[tool.semantic_release.parser_angular]
allowed_types = ["feat", "fix", "perf", "refactor", "style", "docs", "test", "build", "ci", "chore"]
minor_types = ["feat"]
patch_types = ["fix", "perf"]
[tool.semantic_release.branches.main]
match = "main"
prerelease = false
[tool.semantic_release.branches.release]
match = "release-*"
prerelease = false