File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ name: Semantic Release
33on :
44 push :
55 branches :
6- - master
6+ - main
7+ - next
78
89jobs :
910 release :
Original file line number Diff line number Diff line change @@ -32,10 +32,14 @@ allow_zero_version = true
3232tag_format = " v{version}"
3333
3434[tool .semantic_release .branches .main ]
35- match = " (next|master)"
36- prerelease_token = " rc"
35+ match = " main"
3736prerelease = false
3837
38+ [tool .semantic_release .branches .next ]
39+ match = " next"
40+ prerelease_token = " next"
41+ prerelease = true
42+
3943[tool .semantic_release .changelog ]
4044template_dir = " templates"
4145changelog_file = " CHANGELOG.md"
@@ -74,4 +78,3 @@ insecure = false
7478[tool .semantic_release .publish ]
7579dist_glob_patterns = [" dist/*" ]
7680upload_to_vcs_release = true
77-
You can’t perform that action at this time.
0 commit comments