From bb2c3cb76ffd1a3d6b9463d7c823c65d64fc7463 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 4 Apr 2023 19:15:04 +0200 Subject: [PATCH] autoupdate app sources: fix asset url for latest tag strategy --- autoupdate_app_sources/autoupdate_app_sources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoupdate_app_sources/autoupdate_app_sources.py b/autoupdate_app_sources/autoupdate_app_sources.py index 8e543a4..03139d1 100644 --- a/autoupdate_app_sources/autoupdate_app_sources.py +++ b/autoupdate_app_sources/autoupdate_app_sources.py @@ -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":