Auto-publish release after validation for v4.32.4
This commit is contained in:
parent
2312345a02
commit
413e84b925
1 changed files with 19 additions and 0 deletions
19
.github/workflows/create-release.yml
vendored
19
.github/workflows/create-release.yml
vendored
|
|
@ -548,3 +548,22 @@ jobs:
|
||||||
release_id: ${{ needs.create_release.outputs.release_id }}
|
release_id: ${{ needs.create_release.outputs.release_id }}
|
||||||
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