]> git.sesse.net Git - stockfish/commitdiff
Add wiki to artifacts
authordisservin <disservin.social@gmail.com>
Sat, 4 Mar 2023 15:34:34 +0000 (16:34 +0100)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Sun, 5 Mar 2023 15:14:07 +0000 (16:14 +0100)
snapshot the wiki https://github.com/official-stockfish/stockfish/wiki as part of the artifacts generated.
This will allow future release to include the wiki pages as a form of documentation

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

No functional change

.github/workflows/stockfish_arm_binaries.yml
.github/workflows/stockfish_binaries.yml

index a1b3cdab0ea086d6dfe236534a6c8bad08bc4efd..e088c4419250aade1c9843cbbd1ca17c0718361a 100644 (file)
@@ -99,10 +99,17 @@ jobs:
       - name: Remove non src files
         run: rm -f *.o .depend *.nnue
 
+      - name: Download wiki
+        run: |
+          git clone https://github.com/official-stockfish/Stockfish.wiki.git ../wiki
+          cd ../wiki
+          rm -rf .git
+
       - name: Create tar archive.
         run: |
           cd ..
           mkdir stockfish
+          cp -r wiki stockfish/
           cp -r src stockfish/
           cp stockfish-android-$BINARY$EXT stockfish/
           cp "Top CPU Contributors.txt" stockfish/
index 06b13a9e095dae997a3655ce8980d75fef93302f..b22897cf69215ba7bd3c673382ffc8343cfbfe59 100644 (file)
@@ -83,10 +83,17 @@ jobs:
       - name: Remove non src files
         run: rm -f *.o .depend *.nnue
 
+      - name: Download wiki
+        run: |
+          git clone https://github.com/official-stockfish/Stockfish.wiki.git ../wiki
+          cd ../wiki
+          rm -rf .git
+
       - name: Create tar archive.
         run: |
           cd ..
           mkdir stockfish
+          cp -r wiki stockfish/
           cp -r src stockfish/
           cp stockfish-$OS-$BINARY$EXT stockfish/
           cp "Top CPU Contributors.txt" stockfish/