Files
packages/anda/misc/uwufetch/update.rhai
T
Raboneko 57950dd120 chore(uwufetch): Update for semi-active branch (#7761) (#7767)
* chore(uwufetch): Update for new semi-active branch



* fix: Spec



* Try `gh`??



* fix: I see the issue...cursed



* Unintelligent moment



* Just do this



---------


(cherry picked from commit 872a56a20e)

Signed-off-by: Gilver <rockgrub@disroot.org>
Co-authored-by: Gilver <rockgrub@disroot.org>
2025-11-29 07:22:03 -06:00

12 lines
337 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;
rpm.global("commit", c);
if rpm.changed() {
rpm.release();
rpm.global("fulldate", d);
d.truncate(10);
let ver = gh_tag("ad-oliviero/uwufetch");
rpm.global("ver", ver);
}