From 0a3869981f8e34aad212bbb81b83a03ceef8f39b Mon Sep 17 00:00:00 2001 From: Ryan Fleury Date: Sat, 10 May 2025 16:01:56 -0700 Subject: [PATCH] correctly calculate shortened hash w/ dirty marker in build.sh --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 06062df4..a8b0fd41 100644 --- a/build.sh +++ b/build.sh @@ -15,7 +15,7 @@ if [ -v gcc ]; then compiler="${CC:-gcc}"; echo "[gcc compile]"; fi auto_compile_flags='' # --- Get Current Git Commit Id ----------------------------------------------- -git_hash=$(git rev-parse HEAD) +git_hash=$(git describe --always --dirty) git_hash_full=$(git rev-parse HEAD) # --- Compile/Link Line Definitions -------------------------------------------