Skip to content

Commit

Permalink
chore (ci): fixes to version/semanctic release conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Lasse-numerous committed May 17, 2024
1 parent 5f29f52 commit 9b3a898
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "numerous-files"
readme = "README.md"
dynamic = ['version']
version = "0.1.0"
classifiers = ["Programming Language :: Python :: 3"]
dependencies = [
"typing-extensions==4.9.0",
Expand Down Expand Up @@ -46,3 +46,23 @@ ignore = ["ANN101", "D101", "D103", "D107", "D211", "D212", "FA100", "FA102", "D

[tool.mypy]
exclude = ["build", "setup.py", ".*venv.*"]

[tool.semantic_release]
branch = "main"
commit_parser = "angular"
version_toml = ["pyproject.toml:project.version"]

[tool.semantic_release.remote.token]
env = "GH_TOKEN"

[tool.semantic_release.changelog]
exclude_commit_patterns = [
'''chore(?:\([^)]*?\))?: .+''',
'''ci(?:\([^)]*?\))?: .+''',
'''refactor(?:\([^)]*?\))?: .+''',
'''style(?:\([^)]*?\))?: .+''',
'''test(?:\([^)]*?\))?: .+''',
'''build\((?!deps\): .+)''',
'''Merged? .*''',
'''initial commit''',
]

0 comments on commit 9b3a898

Please sign in to comment.