diff options
| author | Brendan Allan <[email protected]> | 2025-12-16 23:34:44 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-16 23:34:44 +0800 |
| commit | 452c991f58f0ae901594b1f8c8a87ad995c97a45 (patch) | |
| tree | 6b140759c2144891c2d75adb9346b98832bfc56f /.github/workflows | |
| parent | be8116e2ea3aed66c9d63e0cac2af47bd3e91be5 (diff) | |
| download | opencode-452c991f58f0ae901594b1f8c8a87ad995c97a45.tar.gz opencode-452c991f58f0ae901594b1f8c8a87ad995c97a45.zip | |
Keep release a draft until all builds are finished (#5632)
Co-authored-by: opencode <[email protected]>
Co-authored-by: GitHub Action <[email protected]>
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/publish.yml | 17 |
1 files changed, 17 insertions, 0 deletions
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 }} |
