From 56f9df738fd156d6f9eaed18166e22182f627f45 Mon Sep 17 00:00:00 2001 From: KiekerJan Date: Wed, 23 Jun 2021 21:02:21 +0200 Subject: [PATCH] version recognition --- management/status_checks.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/management/status_checks.py b/management/status_checks.py index be9d29d4..bddcdd07 100755 --- a/management/status_checks.py +++ b/management/status_checks.py @@ -922,7 +922,9 @@ def check_miab_version(env, output): else: 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] else: this_ver_tag = this_ver