mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
fix(update): libadwaita-nightly (#652)
This commit is contained in:
@@ -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,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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user