Skip to content

Commit 178cd75

Browse files
committed
ci: Delete .releaserc in favour of all settings in pyproject.toml
1 parent 9de2c14 commit 178cd75

File tree

2 files changed

+28
-30
lines changed

2 files changed

+28
-30
lines changed

.releaserc

Lines changed: 0 additions & 30 deletions
This file was deleted.

pyproject.toml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,31 @@ version_source = "tag"
7878
tag_format = "{version}"
7979
commit_version_number = true
8080
commit_message = "RELEASE: {version}"
81+
82+
[tool.semantic_release.commit_parser]
83+
pattern = "^(?P<type>feat|fix|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\((?P<scope>[^()\s]+)\))?:\s(?P<message>.+)"
84+
field_pattern = "^(?P<type>feat|fix|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\((?P<scope>[^()\s]+)\))?:\s(?P<message>.+)"
85+
86+
[tool.semantic_release.changelog_sections]
87+
feat = "Features"
88+
fix = "Bug Fixes"
89+
docs = "Documentation"
90+
style = "Style"
91+
refactor = "Refactor"
92+
perf = "Performance"
93+
test = "Tests"
94+
build = "Build"
95+
ci = "CI"
96+
chore = "Chores"
97+
revert = "Reverts"
98+
99+
[tool.semantic_release.changelog_exclude]
100+
types = ["style", "test", "build", "ci", "chore"]
101+
102+
[tool.semantic_release.changelog_section_headers]
103+
feat = "### Features"
104+
fix = "### Bug Fixes"
105+
docs = "### Documentation"
106+
refactor = "### Refactor"
107+
perf = "### Performance"
108+
revert = "### Reverts"

0 commit comments

Comments
 (0)