Fix release script LTO.

This commit is contained in:
Eric Huss 2020-08-11 15:39:03 -07:00
parent 8f7e030ac3
commit f6768b816c

View file

@ -11,7 +11,8 @@ fi
TAG=${GITHUB_REF#*/tags/}
host=$(rustc -Vv | grep ^host: | sed -e "s/host: //g")
cargo rustc --bin mdbook --release -- -C lto
export CARGO_PROFILE_RELEASE_LTO=true
cargo build --bin mdbook --release
cd target/release
case $1 in
ubuntu* | macos*)