Skip to content

Commit 265b7c9

Browse files
abrichrclaude
andauthored
fix(ci): use v9 branch config for python-semantic-release (#4)
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 260a9a2 commit 265b7c9

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
@@ -68,9 +68,11 @@ target-version = "py310"
6868

6969
[tool.semantic_release]
7070
version_toml = ["pyproject.toml:project.version"]
71-
branch = "main"
7271
commit_message = "chore: release {version}"
7372

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

0 commit comments

Comments
 (0)