From 87c17496e74acd76e7c5202398fe0fda7e0488a7 Mon Sep 17 00:00:00 2001 From: Panos Vagenas <35837085+vagenas@users.noreply.github.com> Date: Tue, 16 Jul 2024 08:44:51 +0200 Subject: [PATCH] add semantic-release config --- pyproject.toml | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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"