Files
neon/zenith_utils/build.rs
Dmitry Rodionov 987833e0b9 Propagate git SHA to zenith binaries
Git commit sha is displayed when --version flag is used and is written
to logs during service startup. Uses git_version crate when git is
available, and GIT_VERSION environment variable otherwise which is the case for docker
builds.
2021-11-04 14:22:29 +03:00

4 lines
70 B
Rust

fn main() {
println!("cargo:rerun-if-env-changed=GIT_VERSION");
}