fix(update): libadwaita-nightly (#652)

This commit is contained in:
madomado
2023-07-24 21:56:41 +08:00
committed by GitHub
parent 37ce05a590
commit eaea3b73d4
2 changed files with 3 additions and 6 deletions
@@ -1,9 +1,9 @@
%global ver 1.4
%global commit 9c2d9426b0772787796009f03f0eab06612c4a96
%global commit 69b0818d31b632b88ae6e974c90364b2891e96e8
Name: libadwaita-nightly
Version: %ver^%commit
Release: 2%?dist
Release: 1%?dist
Summary: Building blocks for modern GNOME applications
License: LGPL-2.1+
URL: https://gnome.pages.gitlab.gnome.org/libadwaita/
+1 -4
View File
@@ -1,8 +1,5 @@
if filters.contains("nightly") {
// let txt = get("https://gitlab.gnome.org/api/v4/projects/14079/repository/tags?per_page=1");
// let ver = txt.json_arr()[0].name;
// rpm.global("ver", ver);
txt = get("https://gitlab.gnome.org/api/v4/projects/14079/repository/commits?per_page=1&page=1");
let txt = get("https://gitlab.gnome.org/api/v4/projects/14079/repository/commits?per_page=1&page=1");
let commit = txt.json_arr()[0].id;
rpm.global("commit", commit);
}