From 9c3f14aabb6744a3fec6e23e11298e8c00e4a43c Mon Sep 17 00:00:00 2001 From: Gregor Lichtner Date: Fri, 16 Feb 2024 14:11:21 +0100 Subject: [PATCH] test: fixed tests (always loading latest release) --- app/utils.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/utils.py b/app/utils.py index e5a92fd..9b46216 100644 --- a/app/utils.py +++ b/app/utils.py @@ -98,7 +98,11 @@ def retrieve_release_from_github( for release in releases: package_version = release["tag_name"] - if include_versions and package_version not in include_versions: + if ( + include_versions + and (package_version not in include_versions) + and (package_version != latest_tag) + ): continue assets = release["assets"]