-
Notifications
You must be signed in to change notification settings - Fork 258
Closed
Labels
Description
Bug Report
Description
I have a custom commit_message
and I have set changelog.exclude_commit_patterns
to ignore it in changelog, but it will still be generated in CHANGELOG.md
(except for the last release):
Here is my config:
[tool.semantic_release]
commit_message = "chore(release): v{version}\n\nAutomatically generated by python-semantic-release"
commit_parser = "angular"
tag_format = "v{version}"
[tool.semantic_release.changelog]
exclude_commit_patterns = ['''chore: release|chore\(release\): .+''']
[tool.semantic_release.commit_parser_options]
allowed_tags = [
"build",
"chore",
"ci",
"docs",
"feat",
"fix",
"perf",
"refactor",
"style",
"test",
]
minor_tags = ["feat"]
patch_tags = ["chore", "ci", "docs", "fix", "perf", "refactor"]
Here is the generated CHANGELOG.md
# CHANGELOG
## v0.6.10 (2025-01-10)
### Chores
- Update project.toml
([`8660f6a`](https://github.com/font2svg/font2svg-api/commit/8660f6aa2d8417427e170619a72d6a34baa0a46b))
## v0.6.9 (2025-01-10)
### Chores
- Update pyproject.toml
([`5dacf17`](https://github.com/font2svg/font2svg-api/commit/5dacf17a3e2a5eb227161f51cc8d3e086cdcc08f))
- **release**: V0.6.9
([`a968289`](https://github.com/font2svg/font2svg-api/commit/a9682898f032eb81c999d31d61b20504279be013))
...
Version
9.15.2
GitHub Action logs
https://github.com/font2svg/font2svg-api/actions/runs/12704060826/job/35412829762