autoupdate_app_sources: boring special case for dokuwiki
This commit is contained in:
parent
b8ed404cfd
commit
0bd955c50b
1 changed files with 3 additions and 0 deletions
|
@ -81,6 +81,9 @@ def filter_and_get_latest_tag(tags, app_id):
|
||||||
t_to_check = t
|
t_to_check = t
|
||||||
if t.startswith(app_id + "-"):
|
if t.startswith(app_id + "-"):
|
||||||
t_to_check = t.split("-", 1)[-1]
|
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):
|
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")
|
print(f"Ignoring tag {t_to_check}, doesn't look like a version number")
|
||||||
|
|
Loading…
Reference in a new issue