Skip to content

Commit

Permalink
fix: permit other branches
Browse files Browse the repository at this point in the history
  • Loading branch information
Lash-L authored Dec 5, 2024
1 parent bf33e28 commit d0e455a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ codespell = "*"
pyshark = "^0.6"

[tool.semantic_release]
branch = "main"
version_toml = ["pyproject.toml:tool.poetry.version"]
build_command = "pip install poetry && poetry build"
[tool.semantic_release.commit_parser_options]
Expand All @@ -59,6 +58,14 @@ allowed_tags = [
"refactor"
]
major_tags= ["refactor"]
[semantic_release.branches.main]
match = "release"
prerelease = false

[tool.semantic_release.branches.other]
match = ".*"
prerelease_token = "rc"
prerelease = true

[tool.ruff]
ignore = ["F403", "E741"]
Expand Down

0 comments on commit d0e455a

Please sign in to comment.