mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-29 09:03:20 -08:00
correctly calculate shortened hash w/ dirty marker in build.sh
This commit is contained in:
1 parent
219e5bd211
commit
0a3869981f
1 file changed
+1
-1
@@ -15,7 +15,7 @@ if [ -v gcc ]; then compiler="${CC:-gcc}"; echo "[gcc compile]"; fi
|
|||||||
auto_compile_flags=''
|
auto_compile_flags=''
|
||||||
|
|
||||||
# --- Get Current Git Commit Id -----------------------------------------------
|
# --- Get Current Git Commit Id -----------------------------------------------
|
||||||
git_hash=$(git rev-parse HEAD)
|
git_hash=$(git describe --always --dirty)
|
||||||
git_hash_full=$(git rev-parse HEAD)
|
git_hash_full=$(git rev-parse HEAD)
|
||||||
|
|
||||||
# --- Compile/Link Line Definitions -------------------------------------------
|
# --- Compile/Link Line Definitions -------------------------------------------
|
||||||
|
|||||||
Reference in new issue
Block a user