@@ -24,18 +24,18 @@ packages = [
2424]
2525include = [
2626 # 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" ] },
3131]
3232exclude = [
3333 " **/.*" , # exclude dotfiles and dotfolders
3434 " docs/_build" , " docs/processes" ,
3535]
3636keywords = [
3737 " OWASP" , " CycloneDX" ,
38- " bill-of-materials" , " BOM" , " software-bill-of-materials" ," SBOM" ,
38+ " bill-of-materials" , " BOM" , " software-bill-of-materials" , " SBOM" ,
3939 " environment" , " virtualenv" , " venv" , " Poetry" , " Pipenv" , " requirements" , " PDM" , " Conda" ,
4040 " SPDX" , " licenses" , " PURL" , " package-url" , " dependency-graph" ,
4141]
@@ -106,13 +106,18 @@ pdm = "^2.11"
106106
107107
108108
109-
110109[tool .semantic_release ]
111110# see https://python-semantic-release.readthedocs.io/en/latest/configuration.html
111+ logging_use_named_masks = true
112+ commit_parser = " conventional"
113+ commit_parser_options = { parse_squash_commits = true , ignore_merge_commits = true }
112114commit_author =
" semantic-release <[email protected] >" 113115commit_message =
" chore(release): {version}\n\n Automatically generated by python-semantic-release\n\n Signed-off-by: semantic-release <[email protected] >" 114116upload_to_vcs_release = true
115- build_command = " pip install poetry && poetry build"
117+ build_command = """
118+ pip install poetry
119+ poetry build
120+ """
116121version_toml = [" pyproject.toml:tool.poetry.version" ]
117122version_variables = [
118123 " cyclonedx_py/__init__.py:__version__" ,
@@ -124,7 +129,7 @@ dist_glob_patterns = ["dist/*"]
124129upload_to_vcs_release = true
125130
126131[tool .semantic_release .changelog ]
127- changelog_file = " CHANGELOG.md"
132+ default_templates = { changelog_file = " CHANGELOG.md" }
128133exclude_commit_patterns = [
129134 ''' chore(?:\([^)]*?\))?: .+''' ,
130135 ''' ci(?:\([^)]*?\))?: .+''' ,
0 commit comments