explicitly declare target for linux build

This commit is contained in:
yuni 2024-04-16 01:21:19 +02:00
parent f815e3d62e
commit 0b162de00f

View file

@ -5,8 +5,8 @@
set -e
if [ "$1" == "-b" ]; then
cargo build --release
cargo build --target=x86_64-pc-windows-gnu --release
cargo build --release --target=x86_64-unknown-linux-gnu
cargo build --release --target=x86_64-pc-windows-gnu
fi
VERSION="$(sed -nr 's/^\s*version\s*=\s*"(.*)"\s*$/\1/p' Cargo.toml)"