projects
/
merkaartor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd6af9f
)
Extract version from CHANGELOG, not git.
author
Bas Couwenberg
<sebastic@debian.org>
Sat, 4 Sep 2021 15:05:19 +0000
(16:05 +0100)
committer
Bas Couwenberg
<sebastic@debian.org>
Sat, 4 Sep 2021 15:05:19 +0000
(16:05 +0100)
Forwarded: not-needed
Gbp-Pq: Name no-git-version.patch
src/Config.pri
patch
|
blob
|
history
diff --git
a/src/Config.pri
b/src/Config.pri
index 5a8d42b9634932268d9b73a7d33bec4940256573..f518c8b2b661235a9f2bf35fbdacea0508a0632b 100644
(file)
--- a/
src/Config.pri
+++ b/
src/Config.pri
@@
-1,7
+1,7
@@
# see http://merkaartor.be/wiki/merkaartor/Compiling
-REVISION =
$$system( git describe --tags )
-VERSION =
$$system( git describe --tags HEAD | sed "'s/-g.*//;s/-/./g'" )
+REVISION =
""
+VERSION =
""
isEmpty( REVISION ) {
REVISION = $$system(head -n 3 ../CHANGELOG | tail -n 1 | sed "'s/^v//'")
VERSION = $$REVISION