Update publish_release.yml
This commit is contained in:
committed by
GitHub
parent
3e90369682
commit
b670c4e3c8
18
.github/workflows/publish_release.yml
vendored
18
.github/workflows/publish_release.yml
vendored
@@ -108,12 +108,12 @@ jobs:
|
||||
}
|
||||
if(!merged) throw new Error("PR not merged in time")
|
||||
|
||||
# - name: Create tag
|
||||
# run: |
|
||||
# git tag "${{ steps.draft.outputs.tag_name }}"
|
||||
# git push origin "${{ steps.draft.outputs.tag_name }}"
|
||||
#
|
||||
# - name: Publish draft release
|
||||
# run: gh release edit "${{ steps.draft.outputs.tag_name }}" --draft=false
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Create tag
|
||||
run: |
|
||||
git tag "${{ steps.draft.outputs.tag_name }}"
|
||||
git push origin "${{ steps.draft.outputs.tag_name }}"
|
||||
|
||||
- name: Publish draft release
|
||||
run: gh release edit "${{ steps.draft.outputs.tag_name }}" --draft=false
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user