Skip to content

Commit

Permalink
ci: Fix-up .version sanity check
Browse files Browse the repository at this point in the history
  • Loading branch information
foxcpp committed Jul 1, 2022
1 parent d6a317e commit 96fc685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
run: |
./build.sh --builddir ~/package-output/ --static build
ver=$(cat .version)
if [ "$ver" != "${{github.ref_name}}" ]; then echo ".version does not match the Git tag"; exit 1; fi
if [ "v$ver" != "${{github.ref_name}}" ]; then echo ".version does not match the Git tag"; exit 1; fi
mv ~/package-output/ ~/maddy-$ver-x86_64-linux-musl
cd ~
tar c ./maddy-$ver-x86_64-linux-musl | zstd > ~/maddy-x86_64-linux-musl.tar.zst
Expand Down

0 comments on commit 96fc685

Please sign in to comment.