chore(ci): keep release as draft for manual review
This commit is contained in:
parent
53836ea9b0
commit
2c00cd7806
1 changed files with 1 additions and 18 deletions
19
.github/workflows/create-release.yml
vendored
19
.github/workflows/create-release.yml
vendored
|
|
@ -545,21 +545,4 @@ jobs:
|
||||||
draft: true
|
draft: true
|
||||||
target_commitish: ${{ needs.create_release.outputs.target_commitish }}
|
target_commitish: ${{ needs.create_release.outputs.target_commitish }}
|
||||||
|
|
||||||
publish_release:
|
|
||||||
needs:
|
|
||||||
- extract_version
|
|
||||||
- create_release
|
|
||||||
- validate_release_assets
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
timeout-minutes: 5
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
steps:
|
|
||||||
- name: Publish release
|
|
||||||
env:
|
|
||||||
GH_TOKEN: ${{ github.token }}
|
|
||||||
run: |
|
|
||||||
TAG="${{ needs.extract_version.outputs.tag }}"
|
|
||||||
echo "Publishing release ${TAG}..."
|
|
||||||
gh release edit "${TAG}" --draft=false --repo ${{ github.repository }}
|
|
||||||
echo "✅ Release ${TAG} has been published!"
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue