Skip to content

Commit 91c5a15

Browse files
committed
fix: correct semantic release configuration validation errors
- Fix build_command from boolean false to empty string for v9/v10 compatibility - Simplify semantic release config to use conventional parser format - Update CI/CD workflow to use v10.3.1 action matching package version - Remove complex v10+ configuration that was causing validation errors Resolves semantic release job failures due to pydantic validation
1 parent 9b97df8 commit 91c5a15

2 files changed

Lines changed: 5 additions & 16 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,6 @@ jobs:
122122

123123
- name: Run Semantic Release
124124
id: release
125-
uses: python-semantic-release/python-semantic-release@v9.10.0
125+
uses: python-semantic-release/python-semantic-release@v10.3.1
126126
with:
127127
github_token: ${{ secrets.GITHUB_TOKEN }}

pyproject.toml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,24 +32,13 @@ version_toml = ["pyproject.toml:tool.poetry.version"]
3232
branch = "main"
3333
upload_to_pypi = false
3434
upload_to_release = true
35-
build_command = false
36-
37-
[tool.semantic_release.commit_parser_options]
38-
allowed_tags = ["build", "chore", "ci", "docs", "feat", "fix", "perf", "style", "refactor", "test"]
39-
minor_tags = ["feat"]
40-
patch_tags = ["fix", "perf"]
41-
42-
[tool.semantic_release.commit_message]
43-
template = "chore(release): {version}"
35+
build_command = ""
36+
commit_message = "chore(release): {version}"
37+
commit_parser = "conventional"
38+
major_on_zero = false
4439

4540
[tool.semantic_release.changelog]
4641
changelog_file = "CHANGELOG.md"
47-
exclude_commit_patterns = []
48-
49-
[tool.semantic_release.branches.main]
50-
match = "(main|master)"
51-
prerelease_token = "rc"
52-
prerelease = false
5342

5443
[build-system]
5544
requires = ["poetry-core>=1.0.0"]

0 commit comments

Comments
 (0)