diff --git a/anda/lib/deviceinfo/deviceinfo.spec b/anda/lib/deviceinfo/deviceinfo.spec index 25191fc02c..cc1b3d7850 100644 --- a/anda/lib/deviceinfo/deviceinfo.spec +++ b/anda/lib/deviceinfo/deviceinfo.spec @@ -1,9 +1,9 @@ %global forgeurl https://gitlab.com/ubports/development/core/deviceinfo -%global commit 5dada778683ef8a1da13d0459768d8048429a646 +%global commit 7e819c16e28b785f1ea1a2cf85b4d1376cc79f19 %forgemeta Name: deviceinfo -Version: 0.2.0 +Version: 0.2.1 Release: %autorelease Summary: Library to detect and configure devices License: GPLv3+ diff --git a/anda/lib/deviceinfo/update.rhai b/anda/lib/deviceinfo/update.rhai new file mode 100644 index 0000000000..377061e75b --- /dev/null +++ b/anda/lib/deviceinfo/update.rhai @@ -0,0 +1,3 @@ +let o = get("https://gitlab.com/api/v4/projects/24742019/repository/tags").json_arr()[0]; +rpm.global("commit", o.commit.id); +rpm.version(o.name);