Version splitting used wrong variable, causing version() to return [0,0,0]. Fixes #1329
This commit is contained in:
parent
2b9949fefd
commit
be7acf4ab2
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ isEmpty(VERSION) {
|
|||
SHORTVERSION = $$section(VERSION, "-", 0, 0)
|
||||
|
||||
# Split version into Year Month [Day]
|
||||
VERSION_SPLIT=$$split(DISPLAYVERSION, ".")
|
||||
VERSION_SPLIT=$$split(SHORTVERSION, ".")
|
||||
VERSION_YEAR=$$member(VERSION_SPLIT, 0)
|
||||
VERSION_MONTH=$$member(VERSION_SPLIT, 1)
|
||||
VERSION_DAY=$$member(VERSION_SPLIT, 2)
|
||||
|
|
|
|||
Loading…
Reference in a new issue