Fix release script LTO.
This commit is contained in:
parent
8f7e030ac3
commit
f6768b816c
|
@ -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*)
|
||||
|
|
Loading…
Reference in New Issue