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
|
@ -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 New Issue