mirror of
https://github.com/YunoHost/apps.git
synced 2024-09-03 20:06:07 +02:00
autoupdate_app_sources: boring special case for dokuwiki
This commit is contained in:
parent
24d49284fb
commit
14002cc5e7
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
|
||||
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")
|
||||
|
|
Loading…
Add table
Reference in a new issue