1
0
Fork 0

autoupdate app sources: fix asset url for latest tag strategy

This commit is contained in:
Alexandre Aubin 2023-04-04 19:15:04 +02:00
parent fd93ac330c
commit bb2c3cb76f

View file

@ -326,7 +326,7 @@ class AppAutoUpdater:
latest_version_orig, latest_version = filter_and_get_latest_tag( latest_version_orig, latest_version = filter_and_get_latest_tag(
[t["name"] for t in tags], self.app_id [t["name"] for t in tags], self.app_id
) )
latest_tarball = f"{upstream}/archive/refs/tags/{latest_version}.tar.gz" latest_tarball = f"{upstream}/archive/refs/tags/{latest_version_orig}.tar.gz"
return latest_version, latest_tarball return latest_version, latest_tarball
elif strategy == "latest_github_commit": elif strategy == "latest_github_commit":