Merge pull request #12901 from OatmealDome/release-tag-commits-ahead-silence

ScmRevGen: Silence output on the standard error when getting the current tag
This commit is contained in:
Admiral H. Curtiss 2024-07-01 02:36:35 +02:00 committed by GitHub
commit 1a376e46d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,7 +26,8 @@ if(GIT_FOUND)
# defines DOLPHIN_WC_TAG # defines DOLPHIN_WC_TAG
execute_process(WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} COMMAND ${GIT_EXECUTABLE} describe --exact-match HEAD execute_process(WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} COMMAND ${GIT_EXECUTABLE} describe --exact-match HEAD
OUTPUT_VARIABLE DOLPHIN_WC_TAG OUTPUT_VARIABLE DOLPHIN_WC_TAG
OUTPUT_STRIP_TRAILING_WHITESPACE) OUTPUT_STRIP_TRAILING_WHITESPACE
ERROR_QUIET)
endif() endif()
# version number # version number