Travis: Fixed git version info output
(cherry picked from commit 03917c79cdecb906912d9a94ac5ccdaecc8f62e1)
This commit is contained in:
1 parent
4c3db96715
commit
cd7537e1f4
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -24,7 +24,7 @@ else()
|
||||
if(GIT_EXECUTABLE)
|
||||
# Create a revision-string that we can use
|
||||
execute_process(
|
||||
COMMAND "${GIT_EXECUTABLE}" describe --match init --dirty=+ --abbrev=12
|
||||
COMMAND "${GIT_EXECUTABLE}" describe --long --match init --dirty=+ --abbrev=12
|
||||
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
|
||||
OUTPUT_VARIABLE rev_info
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
|
||||
Reference in new issue
Block a user