Skip to content

Commit e59325b

Browse files
committed
dings
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent a6da2b9 commit e59325b

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

pyproject.toml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@ packages = [
2424
]
2525
include = [
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
]
3232
exclude = [
3333
"**/.*", # exclude dotfiles and dotfolders
3434
"docs/_build", "docs/processes",
3535
]
3636
keywords = [
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 }
112114
commit_author = "semantic-release <[email protected]>"
113115
commit_message = "chore(release): {version}\n\nAutomatically generated by python-semantic-release\n\nSigned-off-by: semantic-release <[email protected]>"
114116
upload_to_vcs_release = true
115-
build_command = "pip install poetry && poetry build"
117+
build_command = """
118+
pip install poetry
119+
poetry build
120+
"""
116121
version_toml = ["pyproject.toml:tool.poetry.version"]
117122
version_variables = [
118123
"cyclonedx_py/__init__.py:__version__",
@@ -124,7 +129,7 @@ dist_glob_patterns = ["dist/*"]
124129
upload_to_vcs_release = true
125130

126131
[tool.semantic_release.changelog]
127-
changelog_file = "CHANGELOG.md"
132+
default_templates = { changelog_file = "CHANGELOG.md" }
128133
exclude_commit_patterns = [
129134
'''chore(?:\([^)]*?\))?: .+''',
130135
'''ci(?:\([^)]*?\))?: .+''',

0 commit comments

Comments
 (0)