diff --git a/lapce-core/build.rs b/lapce-core/build.rs index 5222d8e6..e027736f 100644 --- a/lapce-core/build.rs +++ b/lapce-core/build.rs @@ -97,7 +97,7 @@ fn get_head() -> Option { }; let commit = reference.target(); println!("cargo::warning=Commit found: {commit:?}"); - commit.map(|s| s.to_string().split_at(8).0.to_owned()) + commit.map(|s| s.to_string().split_at(7).0.to_owned()) } #[cfg(target_os = "linux")]