@@ -24,18 +24,18 @@ packages = [
24
24
]
25
25
include = [
26
26
# all is an object -> prevent parse issue with dependabot
27
- { path = " README.md" , format =[" sdist" ] },
28
- { path = " tests" , format = [" sdist" ] },
29
- { path = " CHANGELOG.md" , format = [" sdist" ] },
30
- { path = " docs" , format = [" sdist" ] },
27
+ { path = " README.md" , format = [" sdist" ] },
28
+ { path = " tests" , format = [" sdist" ] },
29
+ { path = " CHANGELOG.md" , format = [" sdist" ] },
30
+ { path = " docs" , format = [" sdist" ] },
31
31
]
32
32
exclude = [
33
33
" **/.*" , # exclude dotfiles and dotfolders
34
34
" docs/_build" , " docs/processes" ,
35
35
]
36
36
keywords = [
37
37
" OWASP" , " CycloneDX" ,
38
- " bill-of-materials" , " BOM" , " software-bill-of-materials" ," SBOM" ,
38
+ " bill-of-materials" , " BOM" , " software-bill-of-materials" , " SBOM" ,
39
39
" environment" , " virtualenv" , " venv" , " Poetry" , " Pipenv" , " requirements" , " PDM" , " Conda" ,
40
40
" SPDX" , " licenses" , " PURL" , " package-url" , " dependency-graph" ,
41
41
]
@@ -109,13 +109,18 @@ uv = "0.6.14" # keep pinned to exact version, until a v1.0.0 is released
109
109
110
110
111
111
112
-
113
112
[tool .semantic_release ]
114
113
# see https://python-semantic-release.readthedocs.io/en/latest/configuration.html
114
+ logging_use_named_masks = true
115
+ commit_parser = " conventional"
116
+ commit_parser_options = { parse_squash_commits = true , ignore_merge_commits = true }
115
117
commit_author = " semantic-release <semantic-release@bot.local>"
116
118
commit_message = " chore(release): {version}\n\n Automatically generated by python-semantic-release\n\n Signed-off-by: semantic-release <semantic-release@bot.local>"
117
119
upload_to_vcs_release = true
118
- build_command = " pip install poetry && poetry build"
120
+ build_command = """
121
+ pip install poetry
122
+ poetry build
123
+ """
119
124
version_toml = [" pyproject.toml:tool.poetry.version" ]
120
125
version_variables = [
121
126
" cyclonedx_py/__init__.py:__version__" ,
@@ -127,7 +132,7 @@ dist_glob_patterns = ["dist/*"]
127
132
upload_to_vcs_release = true
128
133
129
134
[tool .semantic_release .changelog ]
130
- changelog_file = " CHANGELOG.md"
135
+ default_templates = { changelog_file = " CHANGELOG.md" }
131
136
exclude_commit_patterns = [
132
137
''' chore(?:\([^)]*?\))?: .+''' ,
133
138
''' ci(?:\([^)]*?\))?: .+''' ,
0 commit comments