From 976ecc33db487849c5f875808a285b4ee29f9d07 Mon Sep 17 00:00:00 2001 From: madomado <119111128+madonuko@users.noreply.github.com> Date: Mon, 13 Mar 2023 08:50:58 +0800 Subject: [PATCH] feat(update): cmake-extras (#272) Signed-off-by: madomado <119111128+madonuko@users.noreply.github.com> --- anda/lib/cmake-extras/update.rhai | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 anda/lib/cmake-extras/update.rhai diff --git a/anda/lib/cmake-extras/update.rhai b/anda/lib/cmake-extras/update.rhai new file mode 100644 index 0000000000..f4ac61854e --- /dev/null +++ b/anda/lib/cmake-extras/update.rhai @@ -0,0 +1,3 @@ +let txt = get("https://gitlab.com/api/v4/projects/17117115/repository/tags"); +let ver = txt.json_arr()[0].name; +rpm.version(ver);