Unverified Commit 134b285f authored by Sang Ik Lee's avatar Sang Ik Lee Committed by GitHub

If version cannot be determined, set it to v0.0.0 (#4371)

Co-authored-by: 's avataraslepko <44713115+aslepko@users.noreply.github.com>
parent 8e180988
......@@ -85,7 +85,7 @@ function(NGRAPH_GET_VERSION_LABEL)
set(NGRAPH_VERSION_LABEL "${NGRAPH_MOST_RECENT_RELEASE_TAG}+${HASH}" PARENT_SCOPE)
else()
if(HASH)
set(NGRAPH_VERSION_LABEL "?.?.?+${HASH}" PARENT_SCOPE)
set(NGRAPH_VERSION_LABEL "v0.0.0+${HASH}" PARENT_SCOPE)
else()
# Not in a git repo
file(READ ${CMAKE_CURRENT_SOURCE_DIR}/TAG NGRAPH_TAG)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment