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
|
export "CARGO_TARGET_$(echo $target | tr a-z- A-Z_)_LINKER"=rust-lld
|
||||||
fi
|
fi
|
||||||
export CARGO_PROFILE_RELEASE_LTO=true
|
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
|
cd target/$target/release
|
||||||
case $1 in
|
case $1 in
|
||||||
ubuntu*)
|
ubuntu*)
|
||||||
|
|
Loading…
Reference in New Issue