Skip to content

Commit 2403fd6

Browse files
committed
feat: [TOML Config] Extended the configuration for PSR
1 parent 597c7d5 commit 2403fd6

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

pyproject.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,18 @@ ignore = [
104104
[tool.pytest.ini_options]
105105
addopts = "--cov=dvsim --cov-report term-missing"
106106
norecursedirs = ["*.egg", ".*", "_darcs", "build", "dist", "venv", "scratch", "doc"]
107+
108+
[tool.semantic_release]
109+
commit_parser = "conventional"
110+
version_toml = ["pyproject.toml:project.version"]
111+
112+
[tool.semantic_release.commit_parser_options]
113+
minor_tags = ["feat"]
114+
patch_tags = ["fix", "perf"]
115+
parse_squash_commits = true
116+
ignore_merge_commits = true
117+
118+
[tool.semantic_release.branches.main]
119+
match = "py_semver"
120+
prerelease_token = "rc"
121+
prerelease = false

0 commit comments

Comments
 (0)