mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
Signed-off-by: madomado <madonuko@outlook.com>
(cherry picked from commit bcb9f8ea7c)
Co-authored-by: madomado <madonuko@outlook.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user