diff --git a/Jamulus.pro b/Jamulus.pro index 25fe9b25b3..6e906af208 100755 --- a/Jamulus.pro +++ b/Jamulus.pro @@ -1,4 +1,4 @@ -VERSION = 3.6.2git +VERSION = 3.6.2dev # use target name which does not use a captital letter at the beginning contains(CONFIG, "noupcasename") { @@ -6,6 +6,16 @@ contains(CONFIG, "noupcasename") { TARGET = jamulus } +#allow detailed version info for intermediate builds +if (contains(VERSION, .*dev.*)) { + GIT_DESCRIPTION=$$system(git describe --match=xxxxxxxxxxxxxxxxxxxx --always --abbrev --dirty) # the match should never match + VERSION = "$$VERSION"-$$GIT_DESCRIPTION + message(building an intermediate version: $$VERSION) +} else { + message(building a final release version: $$VERSION) +} + + CONFIG += qt \ thread \ lrelease \