fixed grouping issue

This commit is contained in:
Lachee 2025-05-07 21:38:25 +10:00
parent 2212e751ee
commit c026fd0983
No known key found for this signature in database
GPG Key ID: F1694B0D3BCBCD55

View File

@ -108,7 +108,9 @@ def main():
for tag in tags:
matches = pattern.match(tag)
if matches:
[ image_os, version, component ] = matches.groups()
groups = matches.groups()
version = groups[1]
component = groups[2]
if version not in versions:
versions[version] = {}
versions[version][component] = tag