From 452c991f58f0ae901594b1f8c8a87ad995c97a45 Mon Sep 17 00:00:00 2001 From: Brendan Allan Date: Tue, 16 Dec 2025 23:34:44 +0800 Subject: Keep release a draft until all builds are finished (#5632) Co-authored-by: opencode Co-authored-by: GitHub Action --- .github/workflows/publish.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ebfc5059b..afc23a81f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -165,6 +165,7 @@ jobs: OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }} RUST_TARGET: ${{ matrix.settings.target }} GH_TOKEN: ${{ github.token }} + OPENCODE_RELEASE_TAG: ${{ needs.publish.outputs.tagName }} # Fixes AppImage build issues, can be removed when https://github.com/tauri-apps/tauri/pull/12491 is released - name: Install tauri-cli from portable appimage branch @@ -197,3 +198,19 @@ jobs: releaseId: ${{ needs.publish.outputs.releaseId }} tagName: ${{ needs.publish.outputs.tagName }} releaseAssetNamePattern: opencode-desktop-[platform]-[arch][ext] + releaseDraft: true + + publish-release: + needs: + - publish + - publish-tauri + runs-on: blacksmith-4vcpu-ubuntu-2404 + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + ref: ${{ needs.publish.outputs.tagName }} + + - run: gh release edit ${{ steps.publish.outputs.tagName }} --draft=false + env: + GH_TOKEN: ${{ github.token }} -- cgit v1.2.3