Skip to content

Commit 4b429d5

Browse files
authored
fix: make release a prerelease
1 parent 2928c20 commit 4b429d5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,13 @@ version_toml = ["pyproject.toml:tool.poetry.version"]
5151
build_command = "pip install poetry && poetry build"
5252

5353
[semantic_release.branches.main]
54-
match = "(main|release)"
55-
prerelease_token = "rc"
54+
match = "main"
5655
prerelease = false
5756

5857
[semantic_release.branches.release]
59-
match = "(main|release)"
58+
match = "release"
6059
prerelease_token = "rc"
61-
prerelease = false
60+
prerelease = true
6261

6362
[tool.semantic_release.commit_parser_options]
6463
allowed_tags = [

0 commit comments

Comments
 (0)