File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -208,11 +208,14 @@ jobs:
208208 bodyFile : release-notes.md
209209 prerelease : ${{ needs.build.outputs.prerelease }}
210210 token : ${{ secrets.GITHUB_TOKEN }}
211+ allowUpdates : true
212+ draft : true
213+ skipIfReleaseExists : true
211214
212215 publish-test-pypi :
213216 name : Publish packages to test.pypi.org
214217 if : github.event_name == 'push' && github.ref == 'refs/heads/main'
215- needs : [build, lint, check]
218+ needs : [build, lint, check, create-github-release ]
216219 runs-on : ubuntu-latest
217220 permissions :
218221 id-token : write
@@ -231,7 +234,7 @@ jobs:
231234 name : Publish packages to pypi.org
232235 environment : release
233236 if : github.event_name == 'push' && contains(github.ref, 'refs/tags/')
234- needs : [build, lint, check]
237+ needs : [build, lint, check, create-github-release ]
235238 runs-on : ubuntu-latest
236239 permissions :
237240 id-token : write
You can’t perform that action at this time.
0 commit comments