Skip to content

Commit

Permalink
Also make sure releases use --locked
Browse files Browse the repository at this point in the history
If it somehow gets out of sync, then the release process otherwise wouldn't catch it.
  • Loading branch information
ehuss authored Feb 13, 2023
1 parent a43b5b6 commit 958b456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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*)
Expand Down

0 comments on commit 958b456

Please sign in to comment.