Skip to content

Commit 677a146

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 da262c0 commit 677a146

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,11 @@ line-length = 100
8686

8787
[tool.semantic_release]
8888
version_toml = ["pyproject.toml:project.version"]
89-
branch = "main"
9089
commit_message = "chore: release {version}"
9190

91+
[tool.semantic_release.branches.main]
92+
match = "main"
93+
9294
[tool.semantic_release.commit_parser_options]
9395
allowed_tags = ["build", "chore", "ci", "docs", "feat", "fix", "perf", "refactor", "style", "test"]
9496
minor_tags = ["feat"]

0 commit comments

Comments
 (0)