Files
packages/anda/misc/uwufetch/update.rhai
T
2026-01-15 23:42:08 -06:00

12 lines
333 B
Plaintext

let json = get(`https://api.github.com/repos/ad-oliviero/uwufetch/commits/development`).json();
let c = json.sha;
let d = json.commit.author.date;
d.truncate(10);
rpm.global("commit", c);
if rpm.changed() {
rpm.release();
rpm.global("fulldate", d);
let ver = gh_tag("ad-oliviero/uwufetch");
rpm.global("ver", ver);
}