From f9f38f85b8071ea9d7e1a514d1fd080a70056ec3 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Thu, 20 Mar 2025 10:33:02 -0700 Subject: [PATCH] fix(lightly-qt5): update.rhai (#4045) (#4072) Signed-off-by: madomado (cherry picked from commit bcb9f8ea7cfa1d95d2a6d631fa7133e685729458) Co-authored-by: madomado --- anda/themes/lightly-qt5/update.rhai | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/anda/themes/lightly-qt5/update.rhai b/anda/themes/lightly-qt5/update.rhai index aa9465c548..445e062962 100644 --- a/anda/themes/lightly-qt5/update.rhai +++ b/anda/themes/lightly-qt5/update.rhai @@ -1,4 +1,4 @@ -fn main() { +fn main(labels) { let branch = bump::as_bodhi_ver(labels.branch); let url = `https://bodhi.fedoraproject.org/updates/?search=qt5-5.&status=stable&releases=${branch}&rows_per_page=1&page=1`; for entry in get(url).json().updates[0].title.split(' ') { @@ -9,4 +9,4 @@ fn main() { } } -open_file("anda/themes/lightly-qt5/VER5.txt").write(`${main()}`); // will trig rebuild when changed +open_file("anda/themes/lightly-qt5/VER5.txt").write(`${main(labels)}`); // will trig rebuild when changed