Skip to content

Commit d7ed748

Browse files
KinzaQamarmachshev
authored andcommitted
feat: Added configuration options for release
These will be consumed by python-semantic-release to make a release. Signed-off-by: Kinza Qamar <[email protected]>
1 parent 96ff3d5 commit d7ed748

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

pyproject.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,19 @@ 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+
commit_message = "Bump v{version}"
112+
113+
[tool.semantic_release.commit_parser_options]
114+
minor_tags = ["feat"]
115+
patch_tags = ["fix", "perf", "refactor"]
116+
parse_squash_commits = true
117+
ignore_merge_commits = true
118+
119+
[tool.semantic_release.branches.main]
120+
match = "master"
121+
prerelease_token = "rc"
122+
prerelease = false

0 commit comments

Comments
 (0)