fix latest_release_html_url assignement
This commit is contained in:
parent
92e6832978
commit
a13d6eb44d
1 changed files with 2 additions and 2 deletions
|
@ -334,8 +334,8 @@ class AppAutoUpdater:
|
||||||
if ("gitea" in strategy or "forgejo" in strategy) and latest_assets == "":
|
if ("gitea" in strategy or "forgejo" in strategy) and latest_assets == "":
|
||||||
# if empty (so only the base asset), take the tarball_url
|
# if empty (so only the base asset), take the tarball_url
|
||||||
latest_assets = latest_release["tarball_url"]
|
latest_assets = latest_release["tarball_url"]
|
||||||
if strategy == "_release":
|
# get the release changelog link
|
||||||
latest_release_html_url = latest_release["html_url"]
|
latest_release_html_url = latest_release["html_url"]
|
||||||
if asset == "tarball":
|
if asset == "tarball":
|
||||||
latest_tarball = (
|
latest_tarball = (
|
||||||
api.url_for_ref(latest_version_orig, RefType.tags)
|
api.url_for_ref(latest_version_orig, RefType.tags)
|
||||||
|
|
Loading…
Reference in a new issue