From 14002cc5e7f40ae711162987ab13f868e6132c3a Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 19 Jun 2023 21:19:06 +0200 Subject: [PATCH] autoupdate_app_sources: boring special case for dokuwiki --- tools/autoupdate_app_sources/autoupdate_app_sources.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/autoupdate_app_sources/autoupdate_app_sources.py b/tools/autoupdate_app_sources/autoupdate_app_sources.py index 0fd1a05e..340b9558 100644 --- a/tools/autoupdate_app_sources/autoupdate_app_sources.py +++ b/tools/autoupdate_app_sources/autoupdate_app_sources.py @@ -81,6 +81,9 @@ def filter_and_get_latest_tag(tags, app_id): t_to_check = t if t.startswith(app_id + "-"): t_to_check = t.split("-", 1)[-1] + # Boring special case for dokuwiki... + elif t.startswith("release-"): + t_to_check = t.split("-", 1)[-1].replace("-", ".") 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")