mirror of
https://github.com/rust-lang/mdBook
synced 2024-12-12 13:52:36 +00:00
Also make sure releases use --locked
If it somehow gets out of sync, then the release process otherwise wouldn't catch it.
This commit is contained in:
parent
a43b5b69ab
commit
958b456873
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ then
|
|||
export "CARGO_TARGET_$(echo $target | tr a-z- A-Z_)_LINKER"=rust-lld
|
||||
fi
|
||||
export CARGO_PROFILE_RELEASE_LTO=true
|
||||
cargo build --bin mdbook --release --target $target
|
||||
cargo build --locked --bin mdbook --release --target $target
|
||||
cd target/$target/release
|
||||
case $1 in
|
||||
ubuntu*)
|
||||
|
|
Loading…
Reference in a new issue