diff options
author | Kari Oikarinen <kari.oikarinen@qt.io> | 2017-01-13 15:24:46 +0200 |
---|---|---|
committer | Kari Oikarinen <kari.oikarinen@qt.io> | 2017-01-13 13:50:14 +0000 |
commit | c3f54cedb1fc2805eb21b2499514284941445e85 (patch) | |
tree | 4cf37cc96902272ac4f4f1d059658c9983d270ea | |
parent | 2c7380bb4e934b309ee66d8dbc233dc76b4d68a3 (diff) |
Set manual version number rather than using git
The `git describe` automation introduced in
db61153547cb8aafaf374f43932047ea400bd482 is not helpful, since Coin does
not build from git checkouts.
Change-Id: I1221540b4ede402156f568b6e858f05a0e5d982b
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
-rw-r--r-- | version.pri | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/version.pri b/version.pri index 9784944..f6cb7b9 100644 --- a/version.pri +++ b/version.pri @@ -1,8 +1 @@ -unix:system(which git): HAS_GIT = TRUE -win32:system(where git.exe): HAS_GIT = TRUE -contains(HAS_GIT, TRUE) { - GIT_VERSION = $$system(git describe --always --dirty --long --tags) -} -isEmpty(GIT_VERSION): GIT_VERSION = "(unknown version)" - -DEFINES += "QDB_VERSION=\\\"$$GIT_VERSION\\\"" +DEFINES += QDB_VERSION=\\\"1.0.0\\\" |