mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-08 10:23:54 +00:00
Merge pull request #532 from arirubinstein/master
Force git to return something if tags aren't found
This commit is contained in:
commit
c26c3a6dfa
@ -88,7 +88,7 @@ endif()
|
||||
|
||||
# Generate version from git
|
||||
execute_process(
|
||||
COMMAND git describe --tags HEAD
|
||||
COMMAND git describe --tags HEAD --always
|
||||
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
|
||||
OUTPUT_VARIABLE OSQUERY_BUILD_VERSION
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
|
Loading…
Reference in New Issue
Block a user