Extract version from CHANGELOG, not git.
authorBas Couwenberg <sebastic@debian.org>
Sat, 29 Oct 2022 15:50:39 +0000 (16:50 +0100)
committerJerome Benoit <calculus@rezozer.net>
Sat, 29 Oct 2022 15:50:39 +0000 (16:50 +0100)
Forwarded: not-needed

Gbp-Pq: Name no-git-version.patch

src/Config.pri

index 5a8d42b9634932268d9b73a7d33bec4940256573..f518c8b2b661235a9f2bf35fbdacea0508a0632b 100644 (file)
@@ -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