Skip to content

Commit 0da72f1

Browse files
abrichrclaude
andauthored
fix(ci): use v9 branch config for python-semantic-release (#3)
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 <noreply@anthropic.com>
1 parent 6758fb8 commit 0da72f1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,11 @@ python_files = ["test_*.py"]
6767

6868
[tool.semantic_release]
6969
version_toml = ["pyproject.toml:project.version"]
70-
branch = "main"
7170
commit_message = "chore: release {version}"
7271

72+
[tool.semantic_release.branches.main]
73+
match = "main"
74+
7375
[tool.semantic_release.commit_parser_options]
7476
allowed_tags = ["build", "chore", "ci", "docs", "feat", "fix", "perf", "refactor", "style", "test"]
7577
minor_tags = ["feat"]

0 commit comments

Comments
 (0)