From a13d6eb44db8ec04913106b17f34575b50de0fe5 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Wed, 14 Feb 2024 22:06:13 +0100 Subject: [PATCH] fix latest_release_html_url assignement --- autoupdate_app_sources/autoupdate_app_sources.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoupdate_app_sources/autoupdate_app_sources.py b/autoupdate_app_sources/autoupdate_app_sources.py index 7a086e7..e10db4d 100644 --- a/autoupdate_app_sources/autoupdate_app_sources.py +++ b/autoupdate_app_sources/autoupdate_app_sources.py @@ -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)