mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-22 03:55:53 +00:00
Add git commit hash to debug version string
This commit is contained in:
committed by
Nik Bougalis
parent
fbedfb25ae
commit
bf013c02ad
@@ -37,6 +37,9 @@ char const* const versionString = "1.8.1"
|
||||
// clang-format on
|
||||
|
||||
#if defined(DEBUG) || defined(SANITIZER)
|
||||
#ifdef GIT_COMMIT_HASH
|
||||
"-" GIT_COMMIT_HASH
|
||||
#endif
|
||||
"+"
|
||||
#ifdef DEBUG
|
||||
"DEBUG"
|
||||
|
||||
Reference in New Issue
Block a user