Auto-publish release after validation for v4.32.4

This commit is contained in:
courtmanr@gmail.com 2025-11-23 00:21:15 +00:00
parent 2312345a02
commit 413e84b925

View file

@ -548,3 +548,22 @@ jobs:
release_id: ${{ needs.create_release.outputs.release_id }}
draft: true
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!"