File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,8 @@ mypy = "1.5.1"
8484tox = " 4.11.3"
8585xmldiff = " 2.6.3"
8686
87+
88+
8789[tool .semantic_release ]
8890# see https://python-semantic-release.readthedocs.io/en/latest/configuration.html
8991commit_message = " chore(release): {version}\n\n Automatically generated by python-semantic-release"
@@ -94,19 +96,27 @@ version_variables = [
9496 " cyclonedx/__init__.py:__version__" ,
9597 " docs/conf.py:release" ,
9698]
99+
100+ [tool .semantic_release .publish ]
101+ dist_glob_patterns = [" dist/*" ]
102+ upload_to_vcs_release = true
103+
97104[tool .semantic_release .changelog ]
98105changelog_file = " CHANGELOG.md"
99106exclude_commit_patterns = [
100107 " chore\\ (release\\ ):" ,
101108]
109+
102110[tool .semantic_release .branches .main ]
103111match = " (main|master)"
104112prerelease = false
105- [tool .semantic_release .branches ."feat|fix|tests|style|docs|chore" ]
106- match = " (feat|fix|tests|style|docs|chore)"
113+
114+ [tool .semantic_release .branches ."step" ]
115+ match = " (build|chore|ci|docs|feat|fix|perf|style|refactor|test)"
107116prerelease = true
108117prerelease_token = " alpha"
118+
109119[tool .semantic_release .branches ."major-dev" ]
110- match = " \\ d+\\ .0\\ .0-dev"
120+ match = " \\ d+\\ .0\\ .0-( dev|rc) "
111121prerelease = true
112- prerelease_token = " alpha "
122+ prerelease_token = " rc "
You can’t perform that action at this time.
0 commit comments