bump: deviceinfo

This commit is contained in:
madomado
2023-10-29 15:58:52 +08:00
parent 68c6940974
commit 7de12e709b
2 changed files with 5 additions and 2 deletions
+2 -2
View File
@@ -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
+3
View File
@@ -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);