From 9b4f0d38c3b89b5f620074c0b75fb20713179cce Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Wed, 14 Feb 2024 04:23:03 +0100 Subject: [PATCH] typo --- tools/autoupdate_app_sources/autoupdate_app_sources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/autoupdate_app_sources/autoupdate_app_sources.py b/tools/autoupdate_app_sources/autoupdate_app_sources.py index 3c0c58c..4b588cc 100644 --- a/tools/autoupdate_app_sources/autoupdate_app_sources.py +++ b/tools/autoupdate_app_sources/autoupdate_app_sources.py @@ -101,7 +101,7 @@ def filter_and_get_latest_tag(tags, app_id): elif t.startswith("release-"): t_to_check = t.split("-", 1)[-1].replace("-", ".") - if not re.match(r"^v?[\d\.]*\-?\d$", t_to_check): + if not re.match(r"^v?[\d\.]*\-\d$", t_to_check): print(f"Ignoring tag {t_to_check}, doesn't look like a version number") else: tag_dict[t] = tag_to_int_tuple(t_to_check)