Fix spaghetti version in Docker (#530)

This commit is contained in:
V10lator 2025-08-07 19:24:49 +02:00 committed by GitHub
parent 57dcefb206
commit 5e8ee8682d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -11,6 +11,12 @@ set(NATO_PHONETIC_ALPHABET
"Xray" "Yankee" "Zulu"
)
execute_process(
COMMAND git config --global --add safe.directory ${CMAKE_SOURCE_DIR}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
OUTPUT_QUIET
)
execute_process(
COMMAND git describe --tags
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}