diff options
| author | Linus Färnstrand <faern@faern.net> | 2022-01-03 10:32:17 +0100 |
|---|---|---|
| committer | Linus Färnstrand <faern@faern.net> | 2022-01-03 10:32:17 +0100 |
| commit | 0b1be80393d9ef62c4e88b977462fbb242e5dd94 (patch) | |
| tree | c0c88034e426f4fc021c6619ae4402af30f29bb7 | |
| parent | 69a521173f0ab355538c0abe2ea42a7a4e00229b (diff) | |
| download | mullvadvpn-0b1be80393d9ef62c4e88b977462fbb242e5dd94.tar.xz mullvadvpn-0b1be80393d9ef62c4e88b977462fbb242e5dd94.zip | |
Only use --locked in releases, not all signed builds
| -rwxr-xr-x | build.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -117,9 +117,6 @@ if [[ "$SIGN" == "true" ]]; then exit 1 fi - # Will not allow an outdated lockfile when signing the build - CARGO_ARGS+=(--locked) - if [[ "$(uname -s)" == "Darwin" || "$(uname -s)" == "MINGW"* ]]; then log_info "Configuring environment for signing of binaries" if [[ -z ${CSC_LINK-} ]]; then @@ -154,6 +151,9 @@ fi if [[ "$IS_RELEASE" == "true" ]]; then log_info "Removing old Rust build artifacts..." cargo clean + + # Will not allow an outdated lockfile in releases + CARGO_ARGS+=(--locked) else PRODUCT_VERSION="$PRODUCT_VERSION-dev-${current_head_commit_hash:0:6}" |
