From cb8cda39cd79f9a61539ce5788c066b9dcbae19c Mon Sep 17 00:00:00 2001 From: Nadja Reitzenstein Date: Wed, 16 Mar 2022 15:17:09 +0100 Subject: [PATCH] Rerun on changed BFFHD_BUILD_TAGGED_RELEASE env var --- build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/build.rs b/build.rs index c9e778b..d684242 100644 --- a/build.rs +++ b/build.rs @@ -12,6 +12,7 @@ fn main() { let rustc_version = rustc_version.trim(); println!("cargo:rustc-env=CARGO_RUSTC_VERSION={}", rustc_version); + println!("cargo:rerun-if-env-changed=BFFHD_BUILD_TAGGED_RELEASE"); let tagged_release = option_env!("BFFHD_BUILD_TAGGED_RELEASE") == Some("1"); let release = if tagged_release { format!("BFFH {version} [{rustc}]",