CI: framework versions test: handle hotfixes (!639)
Cut off the hotfix-version (fourth number) from the version strings before comparing them, to fix invalid errors like: [14:57:00] Reference pkgver: 5.16.90 (from 'khotkeys') [14:57:00] ERROR: plasma-workspace has version 5.16.90.1
This commit is contained in:
parent
bce5f4feec
commit
c8143f0212
1 changed files with 4 additions and 0 deletions
|
@ -62,6 +62,10 @@ def get_categorized_packages(args):
|
|||
"https://www.qt.io/developers/"]:
|
||||
category = "qt"
|
||||
|
||||
# Remove hotfix number (i.e. 5.16.90.1 becomes 5.16.90)
|
||||
if category in ["kde", "plasma"]:
|
||||
pkgver = ".".join(pkgver.split(".")[0:3])
|
||||
|
||||
# Save result
|
||||
if category not in ret:
|
||||
ret[category] = {}
|
||||
|
|
Loading…
Reference in a new issue