Shorten hash in UI

This commit is contained in:
Jeremy Soller 2024-02-28 13:38:26 -07:00
parent a44f16aab5
commit 36477e06dc
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
2 changed files with 3 additions and 2 deletions

View file

@ -10,7 +10,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
}
println!("cargo:rerun-if-env-changed=VERGEN_GIT_SHA");
if std::env::var_os("VERGEN_GIT_SHA").is_none() {
vergen.git_sha(true);
vergen.git_sha(false);
}
vergen.fail_on_error().emit()?;
Ok(())