mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 03:57:45 +00:00
Change versioning and save binaries as CI artifacts
For development versions of Stockfish, the version will now look like dev-20221107-dca9a0533 indicating a development version, the date of the last commit, and the git SHA of that commit. If git is not available, the fallback is the date of compilation. Releases will continue to be versioned as before. Additionally, this PR extends the CI to create binary artifacts, i.e. pushes to master will automatically build Stockfish and upload the binaries to github. closes https://github.com/official-stockfish/Stockfish/pull/4220 No functional change
This commit is contained in:
committed by
Joost VandeVondele
parent
ad2aa8c06f
commit
e048d11825
@@ -10,6 +10,9 @@ on:
|
||||
- master
|
||||
- tools
|
||||
jobs:
|
||||
Binaries:
|
||||
if: github.ref == 'refs/heads/master'
|
||||
uses: ./.github/workflows/stockfish_binaries.yml
|
||||
Stockfish:
|
||||
name: ${{ matrix.config.name }}
|
||||
runs-on: ${{ matrix.config.os }}
|
||||
@@ -113,7 +116,7 @@ jobs:
|
||||
working-directory: src
|
||||
shell: ${{ matrix.config.shell }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user