-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (43 loc) · 1.05 KB
/
pyproject.toml
File metadata and controls
50 lines (43 loc) · 1.05 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[tool.semantic_release]
# Version source - use tags for versioning
version_toml = []
version_variables = []
version_source = "tag"
# Commit parser - Conventional Commits (renamed from angular in v10)
commit_parser = "conventional"
[tool.semantic_release.commit_parser_options]
# Conventional commit types that trigger releases
allowed_tags = [
"build",
"chore",
"ci",
"docs",
"feat",
"fix",
"perf",
"refactor",
"style",
"test",
]
minor_tags = ["feat"]
patch_tags = ["fix", "perf"]
[tool.semantic_release.branches.main]
match = "main"
prerelease = false
[tool.semantic_release.remote]
name = "origin"
type = "github"
[tool.semantic_release.changelog]
# Changelog configuration - use 'init' mode to rebuild from history
mode = "init"
exclude_commit_patterns = [
"^chore\\(release\\):",
"^ci:",
"^Merge ",
]
[tool.semantic_release.changelog.default_templates]
changelog_file = "CHANGELOG.md"
output_format = "md"
[tool.semantic_release.publish]
# Disable PyPI publishing (not a Python package)
upload_to_vcs_release = true