Skip to content

Commit 96fc685

Browse files
committed
ci: Fix-up .version sanity check
1 parent d6a317e commit 96fc685

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/cicd.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
run: |
6262
./build.sh --builddir ~/package-output/ --static build
6363
ver=$(cat .version)
64-
if [ "$ver" != "${{github.ref_name}}" ]; then echo ".version does not match the Git tag"; exit 1; fi
64+
if [ "v$ver" != "${{github.ref_name}}" ]; then echo ".version does not match the Git tag"; exit 1; fi
6565
mv ~/package-output/ ~/maddy-$ver-x86_64-linux-musl
6666
cd ~
6767
tar c ./maddy-$ver-x86_64-linux-musl | zstd > ~/maddy-x86_64-linux-musl.tar.zst

0 commit comments

Comments
 (0)