Change version number to exclude nightly tag
This commit is contained in:
parent
945bc658cb
commit
138b389be3
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ if(GIT_COMMIT) # is a git repo
|
|||
# shorten branch spec
|
||||
string(REGEX REPLACE ".*/" "" GIT_BRANCH "${GIT_REFSPEC}")
|
||||
# use lightweight (non-annotated) tags
|
||||
git_describe(GIT_VERSION "--tags")
|
||||
git_describe(GIT_VERSION "--tags" "--exclude=nightly")
|
||||
git_timestamp(GIT_TIMESTAMP)
|
||||
message(STATUS "Found Git version: ${GIT_REFSPEC} commit ${GIT_COMMIT} from ${GIT_TIMESTAMP_ISO}")
|
||||
message(STATUS "Using Git version tag: ${GIT_VERSION} on ${GIT_BRANCH} at ${GIT_TIMESTAMP}")
|
||||
|
|
Loading…
Add table
Reference in a new issue