Skip to content

Commit

Permalink
Fix release script LTO.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Aug 11, 2020
1 parent d84ea2a commit c16441f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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*)
Expand Down

0 comments on commit c16441f

Please sign in to comment.