mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
bump: deviceinfo
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
%forgemeta
|
||||
|
||||
Name: deviceinfo
|
||||
Version: 0.2.0
|
||||
Version: 0.2.1
|
||||
Release: %autorelease
|
||||
Summary: Library to detect and configure devices
|
||||
License: GPLv3+
|
||||
URL: https://gitlab.com/ubports/development/core/deviceinfo
|
||||
URL: %forgeurl
|
||||
Source0: %{url}/-/archive/%commit/deviceinfo-%commit.tar.gz
|
||||
Source1: https://salsa.debian.org/ubports-team/deviceinfo/-/raw/master/debian/device-info.1
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
let txt = get("https://gitlab.com/api/v4/projects/24742019/repository/tags");
|
||||
let ver = txt.json_arr()[0].name;
|
||||
rpm.version(ver);
|
||||
Reference in New Issue
Block a user