Fix git tag.
This commit is contained in:
parent
96f2a88020
commit
1c205642d1
|
|
@ -35,7 +35,7 @@ greaterThan(NEED_GCOV_SUPPORT, 0) {
|
||||||
GIT_VERSION = $$system(git describe --long --dirty --tags)
|
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 --tags)
|
GIT_TAG = $$system(git describe --abbrev=0)
|
||||||
VERSION = $$replace(GIT_TAG, v,)
|
VERSION = $$replace(GIT_TAG, v,)
|
||||||
|
|
||||||
PRIVATE_HEADERS += \
|
PRIVATE_HEADERS += \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue