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

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 c33440d0de
commit 09a243330b

View file

@ -326,7 +326,7 @@ class AppAutoUpdater:
latest_version_orig, latest_version = filter_and_get_latest_tag(
[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
elif strategy == "latest_github_commit":