version recognition

This commit is contained in:
KiekerJan 2021-06-23 21:02:21 +02:00
parent 606e66fe80
commit 56f9df738f
1 changed files with 3 additions and 1 deletions

View File

@ -922,7 +922,9 @@ def check_miab_version(env, output):
else: else:
latest_ver = get_latest_miab_version() latest_ver = get_latest_miab_version()
if this_ver[-3:] == "-kj": if this_ver[-6:] == "-20.04":
this_ver_tag = this_ver[:-6]
elif this_ver[-3:] == "-kj":
this_ver_tag = this_ver[:-3] this_ver_tag = this_ver[:-3]
else: else:
this_ver_tag = this_ver this_ver_tag = this_ver