1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

fix latest_release_html_url assignement

This commit is contained in:
OniriCorpe 2024-02-14 22:06:13 +01:00
parent 6d21a8658c
commit 61f053f3b8

View file

@ -334,8 +334,8 @@ class AppAutoUpdater:
if ("gitea" in strategy or "forgejo" in strategy) and latest_assets == "":
# if empty (so only the base asset), take the tarball_url
latest_assets = latest_release["tarball_url"]
if strategy == "_release":
latest_release_html_url = latest_release["html_url"]
# get the release changelog link
latest_release_html_url = latest_release["html_url"]
if asset == "tarball":
latest_tarball = (
api.url_for_ref(latest_version_orig, RefType.tags)