Skip to content

Commit d0e455a

Browse files
authored
fix: permit other branches
1 parent bf33e28 commit d0e455a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

pyproject.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ codespell = "*"
4747
pyshark = "^0.6"
4848

4949
[tool.semantic_release]
50-
branch = "main"
5150
version_toml = ["pyproject.toml:tool.poetry.version"]
5251
build_command = "pip install poetry && poetry build"
5352
[tool.semantic_release.commit_parser_options]
@@ -59,6 +58,14 @@ allowed_tags = [
5958
"refactor"
6059
]
6160
major_tags= ["refactor"]
61+
[semantic_release.branches.main]
62+
match = "release"
63+
prerelease = false
64+
65+
[tool.semantic_release.branches.other]
66+
match = ".*"
67+
prerelease_token = "rc"
68+
prerelease = true
6269

6370
[tool.ruff]
6471
ignore = ["F403", "E741"]

0 commit comments

Comments
 (0)