correctly calculate shortened hash w/ dirty marker in build.sh

This commit is contained in:
Ryan Fleury
2025-05-10 16:01:56 -07:00
parent 219e5bd211
commit 0a3869981f
+1 -1
View File
@@ -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 -------------------------------------------