From 337fdf83a351be5a1b796c11058cde88ccbbb361 Mon Sep 17 00:00:00 2001 From: Richard Abrich Date: Tue, 17 Feb 2026 23:51:33 -0500 Subject: [PATCH] fix(ci): use v9 branch config for python-semantic-release Replace `branch = "main"` (v7/v8 key) with `[tool.semantic_release.branches.main]` table (v9 key). The old key is silently ignored by v9, causing releases to never trigger on the main branch. Co-Authored-By: Claude Opus 4.6 --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5eafec9..898e48e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -67,9 +67,11 @@ line-length = 100 [tool.semantic_release] version_toml = ["pyproject.toml:project.version"] -branch = "main" commit_message = "chore: release {version}" +[tool.semantic_release.branches.main] +match = "main" + [tool.semantic_release.commit_parser_options] allowed_tags = ["build", "chore", "ci", "docs", "feat", "fix", "perf", "refactor", "style", "test"] minor_tags = ["feat"]