Skip to content

Commit

Permalink
test: fixed tests (always loading latest release)
Browse files Browse the repository at this point in the history
  • Loading branch information
glichtner committed Feb 16, 2024
1 parent 88f633d commit 9c3f14a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 9c3f14a

Please sign in to comment.