Skip to content

Commit c013bb4

Browse files
authored
Modify release name and adjust release creation command (#1086)
Since this workflow will only be triggered on the release page, the tag already exists, so there is no need to create a draft again. ``` if: startsWith(github.ref, 'refs/tags/webrtc-') ```
1 parent ca618eb commit c013bb4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/webrtc-builds.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ jobs:
174174
path: ${{ steps.setup.outputs.ZIP }}
175175

176176
release:
177-
name: Release to GH (Draft)
177+
name: Release to GH
178178
runs-on: ubuntu-latest
179179
needs: build
180180
permissions:
@@ -194,5 +194,4 @@ jobs:
194194

195195
- name: Create draft release
196196
run: |
197-
gh release create ${{ github.ref_name }} --draft --title "${{ github.ref_name }}"
198197
gh release upload ${{ github.ref_name }} ${{ github.workspace }}/webrtc-builds/*

0 commit comments

Comments
 (0)