From 891d58e514fd253b922eefaf96372c6348ff43c4 Mon Sep 17 00:00:00 2001 From: Javier Gonzalez Date: Tue, 22 Aug 2023 14:09:01 -0400 Subject: [PATCH] fix issue causing empty version tags in dashboard and wrong PR list --- skare3_tools/packages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skare3_tools/packages.py b/skare3_tools/packages.py index f35b13b..daa0027 100755 --- a/skare3_tools/packages.py +++ b/skare3_tools/packages.py @@ -519,8 +519,8 @@ def _get_repository_info_v4( } ) - release_info = sorted( - release_info, key=lambda r: r["release_commit_date"], reverse=True + release_info = release_info[:1] + sorted( + release_info[1:], key=lambda r: r["release_commit_date"], reverse=True ) release_tags = [r["release_tag"] for r in release_info]