Skip to content

Commit

Permalink
chore: add PSR branch groups to test releases on feature branches (#947)
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke committed Nov 20, 2023
1 parent 5f6ecfe commit bf5184c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ sphinx = ">=4.0"
furo = ">=2023.5.20"

[tool.semantic_release]
branch = "main"
version_toml = ["pyproject.toml:tool.poetry.version"]
version_variables = [
"src/django_codemod/__init__.py:__version__",
Expand All @@ -69,6 +68,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=django_codemod --cov-report=term-missing:skip-covered"
pythonpath = ["src"]
Expand Down

0 comments on commit bf5184c

Please sign in to comment.