Fixed git_tag.
This commit is contained in:
parent
275c5dce33
commit
96f2a88020
|
|
@ -32,10 +32,10 @@ greaterThan(NEED_GCOV_SUPPORT, 0) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#Define GIT Macros
|
#Define GIT Macros
|
||||||
GIT_VERSION = $$system(git describe --long --dirty)
|
GIT_VERSION = $$system(git describe --long --dirty --tags)
|
||||||
DEFINES += GIT_VERSION=\\\"$$GIT_VERSION\\\"
|
DEFINES += GIT_VERSION=\\\"$$GIT_VERSION\\\"
|
||||||
|
|
||||||
GIT_TAG = $$system(git describe --abbrev=0)
|
GIT_TAG = $$system(git describe --abbrev=0 --tags)
|
||||||
VERSION = $$replace(GIT_TAG, v,)
|
VERSION = $$replace(GIT_TAG, v,)
|
||||||
|
|
||||||
PRIVATE_HEADERS += \
|
PRIVATE_HEADERS += \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue