File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -114,10 +114,10 @@ jobs:
114114 mode : instrumentation
115115
116116 release :
117- needs :
118- - test
119- - lint
120- - commitlint
117+ # needs:
118+ # - test
119+ # - lint
120+ # - commitlint
121121 if : ${{ github.repository_owner }} == "python-zeroconf"
122122
123123 runs-on : ubuntu-latest
@@ -139,15 +139,15 @@ jobs:
139139 # Do a dry run of PSR
140140 - name : Test release
141141 uses : python-semantic-release/python-semantic-release@4d4cb0ab842247caea1963132c242c62aab1e4d5 # v10.4.1
142- if : github.ref_name != 'master'
142+ if : github.ref_name != 'master' && github.ref_name != 'release-0.x'
143143 with :
144144 no_operation_mode : true
145145
146146 # On main branch: actual PSR + upload to PyPI & GitHub
147147 - name : Release
148148 uses : python-semantic-release/python-semantic-release@4d4cb0ab842247caea1963132c242c62aab1e4d5 # v10.4.1
149149 id : release
150- if : github.ref_name == 'master'
150+ if : github.ref_name == 'master' || github.ref_name == 'release-0.x'
151151 with :
152152 github_token : ${{ secrets.GITHUB_TOKEN }}
153153
Original file line number Diff line number Diff line change @@ -71,8 +71,11 @@ keep_trailing_newline = true
7171[tool .semantic_release .branches .master ]
7272match = " master"
7373
74+ [tool .semantic_release .branches ."release-0 .x" ]
75+ match = " release-0.x"
76+
7477[tool .semantic_release .branches .noop ]
75- match = " (?!master$)"
78+ match = " (?!( master|release-0.x) $)"
7679prerelease = true
7780
7881[tool .poetry .dependencies ]
You can’t perform that action at this time.
0 commit comments