Skip to content

Commit

Permalink
feat: add branch groups for PSR
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke committed Nov 20, 2023
1 parent b95776c commit 5356d32
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion project/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ sphinx-autobuild = ">=2021.3.14"
{%- endif %}

[tool.semantic_release]
branch = "main"
version_toml = ["pyproject.toml:tool.poetry.version"]
version_variables = [
"src/{{ package_name }}/__init__.py:__version__",
Expand All @@ -71,6 +70,13 @@ exclude_commit_patterns = [
[tool.semantic_release.changelog.environment]
keep_trailing_newline = true

[tool.semantic_release.branches.main]
match = "main"

[tool.semantic_release.branches.noop]
match = "(?!main$)"
prerelease = true

[tool.pytest.ini_options]
addopts = "-v -Wdefault --cov={{ package_name }} --cov-report=term-missing:skip-covered"
pythonpath = ["src"]
Expand Down

0 comments on commit 5356d32

Please sign in to comment.