Skip to content

Commit 5c6d1bc

Browse files
committed
ci(fix): keep same version format
1 parent 4a718b1 commit 5c6d1bc

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/artifacts.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ jobs:
160160
exit 0
161161
fi
162162
fi
163-
sed -i "s/const char\* version = \"[^\"]*\"/const char* version = \"alpha $TAG \"/" app/src/main.cpp
163+
VERSION=$(echo "$TAG" | sed 's/^v//' | sed 's/-alpha$//')
164+
sed -i "s/const char\* version = \"[^\"]*\"/const char* version = \"alpha $VERSION \"/" app/src/main.cpp
164165
cat app/src/main.cpp
165166
166167
# Build RISC-V in Docker

test.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
~/fastchess -engine cmd=stockfish name=stockfish-nosyzygy \
2+
-engine cmd=stockfish name=stockfish-syzygy option.SyzygyPath=/dev/shm/3-6men/ \
3+
-concurrency 100 -rounds 40000 -repeat \
4+
-openings file=UHO_XXL_+0.90_+1.19.epd format=epd \
5+
-each proto=uci option.Threads=1 option.Hash=16 tc=10+0.1 dir=~/Stockfish/src/
6+
7+
8+
9+
~/fastchess -engine cmd=stockfish-15 name=stockfish-nosyzygy \
10+
-engine cmd=stockfish-15 name=stockfish-syzygy option.SyzygyPath=/dev/shm/3-6men/ \
11+
-concurrency 100 -rounds 40000 -repeat \
12+
-openings file=UHO_XXL_+0.90_+1.19.epd format=epd \
13+
-each proto=uci option.Threads=1 option.Hash=16 tc=10+0.1 dir=~/Stockfish/src/

0 commit comments

Comments
 (0)