From f832d0d60ee5988881cc3ec3f697f257469719fc Mon Sep 17 00:00:00 2001 From: shadeofblue Date: Mon, 20 Nov 2023 15:30:03 +0100 Subject: [PATCH] increase the number of releases searched on lookup --- goth/runner/download/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goth/runner/download/__init__.py b/goth/runner/download/__init__.py index 589024bc..3eed2c55 100644 --- a/goth/runner/download/__init__.py +++ b/goth/runner/download/__init__.py @@ -232,7 +232,7 @@ def _get_latest_release( Only the versions with `tag_name` that contains `self.tag_substring` as a substring are considered. """ - all_releases = self.gh_api.repos.list_releases() + all_releases = self.gh_api.repos.list_releases(per_page=100) logger.debug("releases=%s", json.dumps(obj2dict(all_releases))) def release_filter(release: dict, tag_substring: str) -> bool: