]> git.sesse.net Git - stockfish/commit
Change versioning and save binaries as CI artifacts
authordisservin <disservin.social@gmail.com>
Sun, 6 Nov 2022 15:17:17 +0000 (16:17 +0100)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Mon, 7 Nov 2022 06:56:58 +0000 (07:56 +0100)
commite048d1182562eb7ce1eae45f626681206da446b8
treef3330fcc4b2fe7bb170317df3d375f4cfedec6ff
parentad2aa8c06f438de8b8bb7b7c8726430e3f2a5685
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
.github/workflows/stockfish.yml
.github/workflows/stockfish_binaries.yml [new file with mode: 0644]
src/Makefile
src/misc.cpp