mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-22 20:57:10 +00:00
Add Prerelease Notes
closes https://github.com/official-stockfish/Stockfish/pull/6803 No functional change
This commit is contained in:
committed by
Joost VandeVondele
parent
ea48d38283
commit
c2500b1165
@@ -28,6 +28,7 @@ jobs:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
fetch-depth: 0
|
||||
|
||||
# returns null if no pre-release exists
|
||||
- name: Get Commit SHA of Latest Pre-release
|
||||
@@ -70,6 +71,17 @@ jobs:
|
||||
echo "OFFICIAL_RELEASE=false" >> $GITHUB_ENV
|
||||
fi
|
||||
|
||||
# Get recent commits for release body
|
||||
- name: Get commits in this push
|
||||
id: recent_commits
|
||||
run: |
|
||||
COMMITS=$(git log \
|
||||
--format="- [\`%h\`](https://github.com/${{ github.repository }}/commit/%H) *%s*" \
|
||||
${{ github.event.before }}..HEAD)
|
||||
echo "COMMITS<<EOF" >> $GITHUB_OUTPUT
|
||||
echo "$COMMITS" >> $GITHUB_OUTPUT
|
||||
echo "EOF" >> $GITHUB_OUTPUT
|
||||
|
||||
# Create a new pre-release, the other upload_binaries.yml will upload the binaries
|
||||
# to this pre-release.
|
||||
- name: Create Prerelease
|
||||
@@ -79,6 +91,23 @@ jobs:
|
||||
name: Stockfish dev-${{ env.COMMIT_DATE }}-${{ env.COMMIT_SHA }}
|
||||
tag_name: stockfish-dev-${{ env.COMMIT_DATE }}-${{ env.COMMIT_SHA }}
|
||||
prerelease: true
|
||||
body: |
|
||||
Precompiled binaries of the latest Stockfish development version, built automatically on every commit.
|
||||
|
||||
> [!NOTE]
|
||||
> For stable, thoroughly tested builds use the [official releases](https://github.com/official/stockfish/releases).
|
||||
> Pre-releases may contain bugs.
|
||||
|
||||
*Some platforms ship a **universal binary** that automatically selects the best
|
||||
instruction set for your CPU - no manual selection needed.*
|
||||
|
||||
---
|
||||
|
||||
## Commits
|
||||
|
||||
${{ steps.recent_commits.outputs.COMMITS }}
|
||||
|
||||
[View all commits →](https://github.com/${{ github.repository }}/commits/master)
|
||||
Matrix:
|
||||
name: Prepare matrices
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user