mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-25 16:17:56 +01:00
Rerun on changed BFFHD_BUILD_TAGGED_RELEASE env var
This commit is contained in:
parent
80ceb4af34
commit
7f362c7ab4
1
build.rs
1
build.rs
@ -48,6 +48,7 @@ fn main() {
|
|||||||
let rustc_version = rustc_version.trim();
|
let rustc_version = rustc_version.trim();
|
||||||
println!("cargo:rustc-env=CARGO_RUSTC_VERSION={}", rustc_version);
|
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 tagged_release = option_env!("BFFHD_BUILD_TAGGED_RELEASE") == Some("1");
|
||||||
let release = if tagged_release {
|
let release = if tagged_release {
|
||||||
format!("BFFH {version} [{rustc}]",
|
format!("BFFH {version} [{rustc}]",
|
||||||
|
Loading…
Reference in New Issue
Block a user