diff --git a/pyproject.toml b/pyproject.toml index 74d77c2c..35dc3613 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -72,3 +72,16 @@ python_version = "3.11" [tool.flake8] max-line-length = 88 extend-ignore = ["E203", "E501"] + +[tool.semantic_release] +# for default values check: +# https://github.com/python-semantic-release/python-semantic-release/blob/v7.32.2/semantic_release/defaults.cfg + +version_source = "tag_only" +branch = "main" + +# configure types which should trigger minor and patch version bumps respectively +# (note that they must be a subset of the configured allowed types): +parser_angular_allowed_types = "build,chore,ci,docs,feat,fix,perf,style,refactor,test" +parser_angular_minor_types = "feat" +parser_angular_patch_types = "fix,perf"