Shorten Prerelease Binary Window

Only delete the prerelease once all assets have been built and only need upload.

Also fix a link in prerelease notes to the official releases.

closes https://github.com/official-stockfish/Stockfish/pull/6812

No functional change
This commit is contained in:
Disservin
2026-05-17 20:41:36 +02:00
committed by Joost VandeVondele
parent dd321af5df
commit 0366d092a8
+6 -6
View File
@@ -21,7 +21,7 @@ jobs:
name: Prerelease name: Prerelease
if: github.repository == 'official-stockfish/Stockfish' && (github.ref == 'refs/heads/master' || (startsWith(github.ref_name, 'sf_') && github.ref_type == 'tag')) if: github.repository == 'official-stockfish/Stockfish' && (github.ref == 'refs/heads/master' || (startsWith(github.ref_name, 'sf_') && github.ref_type == 'tag'))
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [Matrix] needs: [Matrix, Compilation, WindowsARMCompilation, ARMCompilation, UniversalCompilation]
permissions: permissions:
contents: write # For deleting/creating a prerelease contents: write # For deleting/creating a prerelease
steps: steps:
@@ -95,7 +95,7 @@ jobs:
Precompiled binaries of the latest Stockfish development version, built automatically on every commit. Precompiled binaries of the latest Stockfish development version, built automatically on every commit.
> [!NOTE] > [!NOTE]
> For stable, thoroughly tested builds use the [official releases](https://github.com/official/stockfish/releases). > For stable, thoroughly tested builds use the [official releases](https://github.com/official-stockfish/Stockfish/releases).
> Pre-releases may contain bugs. > Pre-releases may contain bugs.
*Some platforms ship a **universal binary** that automatically selects the best *Some platforms ship a **universal binary** that automatically selects the best
@@ -186,7 +186,7 @@ jobs:
Binaries: Binaries:
if: github.repository == 'official-stockfish/Stockfish' if: github.repository == 'official-stockfish/Stockfish'
name: macOS uploads name: macOS uploads
needs: [Prerelease, Matrix, Compilation] needs: [Prerelease, Matrix]
uses: ./.github/workflows/upload_binaries.yml uses: ./.github/workflows/upload_binaries.yml
with: with:
matrix: ${{ needs.Matrix.outputs.macos_matrix }} matrix: ${{ needs.Matrix.outputs.macos_matrix }}
@@ -197,7 +197,7 @@ jobs:
WindowsARM_Binaries: WindowsARM_Binaries:
if: github.repository == 'official-stockfish/Stockfish' if: github.repository == 'official-stockfish/Stockfish'
name: Windows ARM uploads name: Windows ARM uploads
needs: [Prerelease, Matrix, WindowsARMCompilation] needs: [Prerelease, Matrix]
uses: ./.github/workflows/upload_binaries.yml uses: ./.github/workflows/upload_binaries.yml
with: with:
matrix: ${{ needs.Matrix.outputs.windows_arm_matrix }} matrix: ${{ needs.Matrix.outputs.windows_arm_matrix }}
@@ -208,7 +208,7 @@ jobs:
ARM_Binaries: ARM_Binaries:
if: github.repository == 'official-stockfish/Stockfish' if: github.repository == 'official-stockfish/Stockfish'
name: Android uploads name: Android uploads
needs: [Prerelease, Matrix, ARMCompilation] needs: [Prerelease, Matrix]
uses: ./.github/workflows/upload_binaries.yml uses: ./.github/workflows/upload_binaries.yml
with: with:
matrix: ${{ needs.Matrix.outputs.arm_matrix }} matrix: ${{ needs.Matrix.outputs.arm_matrix }}
@@ -219,7 +219,7 @@ jobs:
Universal_Binaries: Universal_Binaries:
if: github.repository == 'official-stockfish/Stockfish' if: github.repository == 'official-stockfish/Stockfish'
name: Universal binaries name: Universal binaries
needs: [Prerelease, Matrix, UniversalCompilation] needs: [Prerelease, Matrix]
uses: ./.github/workflows/upload_binaries.yml uses: ./.github/workflows/upload_binaries.yml
with: with:
matrix: ${{ needs.Matrix.outputs.universal_matrix }} matrix: ${{ needs.Matrix.outputs.universal_matrix }}