Skip to content

Commit 958b456

Browse files
authored
Also make sure releases use --locked
If it somehow gets out of sync, then the release process otherwise wouldn't catch it.
1 parent a43b5b6 commit 958b456

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/make-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ then
1717
export "CARGO_TARGET_$(echo $target | tr a-z- A-Z_)_LINKER"=rust-lld
1818
fi
1919
export CARGO_PROFILE_RELEASE_LTO=true
20-
cargo build --bin mdbook --release --target $target
20+
cargo build --locked --bin mdbook --release --target $target
2121
cd target/$target/release
2222
case $1 in
2323
ubuntu*)

0 commit comments

Comments
 (0)