Skip to content

Commit b9db84e

Browse files
committed
fix: Need to double backslash escape in .toml
1 parent 178cd75 commit b9db84e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ commit_version_number = true
8080
commit_message = "RELEASE: {version}"
8181

8282
[tool.semantic_release.commit_parser]
83-
pattern = "^(?P<type>feat|fix|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\((?P<scope>[^()\s]+)\))?:\s(?P<message>.+)"
84-
field_pattern = "^(?P<type>feat|fix|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\((?P<scope>[^()\s]+)\))?:\s(?P<message>.+)"
83+
pattern = "^(?P<type>feat|fix|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\\((?P<scope>[^()\\s]+)\\))?:\\s(?P<message>.+)"
84+
field_pattern = "^(?P<type>feat|fix|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\\((?P<scope>[^()\\s]+)\\))?:\\s(?P<message>.+)"
8585

8686
[tool.semantic_release.changelog_sections]
8787
feat = "Features"

0 commit comments

Comments
 (0)