diff --git a/build.rs b/build.rs
index d7c26bb..ffaed27 100644
--- a/build.rs
+++ b/build.rs
@@ -22,16 +22,8 @@ fn main() -> Result<(), String> {
         } else {
             " without LSP Support"
         };
-        let git_hash = std::process::Command::new("git")
-            .args(["rev-parse", "HEAD"])
-            .output()
-            .unwrap();
-        let git_hash = String::from_utf8(git_hash.stdout).unwrap();
-        let git_hash = git_hash.trim();
-        let build_date = chrono::Local::now().format("%Y-%m-%d_%H:%M:%S");
-
         println!(
-            "cargo:rustc-env=EXTRA_VERSION_STRING= ({git_hash}) built at {build_date}{build_features}"
+            "cargo:rustc-env=EXTRA_VERSION_STRING= (@GIT_HASH@) committed at @GIT_DATE@{build_features}"
         );
     } else {
         println!("cargo:rustc-env=EXTRA_VERSION_STRING=");
