mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-21 14:37:56 +01:00
Rerun on changed BFFHD_BUILD_TAGGED_RELEASE env var
This commit is contained in:
parent
bd8c2d2173
commit
cb8cda39cd
1
build.rs
1
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}]",
|
||||
|
Loading…
Reference in New Issue
Block a user