Skip to content

Commit

Permalink
Merge pull request #724 from milvus-io/0.6.0
Browse files Browse the repository at this point in the history
0.6.0
  • Loading branch information
JinHai-CN authored Dec 7, 2019
2 parents 827ed1f + c11a4c5 commit 6ade560
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,11 @@ GET_LAST_COMMIT_ID(LAST_COMMIT_ID)
message(STATUS "LAST_COMMIT_ID = ${LAST_COMMIT_ID}")
if (NOT LAST_COMMIT_ID STREQUAL "")
string(REGEX REPLACE "\n" "" LAST_COMMIT_ID ${LAST_COMMIT_ID})
set(LAST_COMMIT_ID "${LAST_COMMIT_ID}")
else ()
set(LAST_COMMIT_ID "Unknown")
endif ()

set(LAST_COMMIT_ID "${LAST_COMMIT_ID}")

# set build type
if (CMAKE_BUILD_TYPE STREQUAL "Release")
set(BUILD_TYPE "Release")
Expand Down

0 comments on commit 6ade560

Please sign in to comment.