mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-04 02:42:19 +00:00
872a56a20e
* chore(uwufetch): Update for new semi-active branch Signed-off-by: Gilver <rockgrub@disroot.org> * fix: Spec Signed-off-by: Gilver <rockgrub@disroot.org> * Try `gh`?? Signed-off-by: Gilver <rockgrub@disroot.org> * fix: I see the issue...cursed Signed-off-by: Gilver <rockgrub@disroot.org> * Unintelligent moment Signed-off-by: Gilver <rockgrub@disroot.org> * Just do this Signed-off-by: Gilver <rockgrub@disroot.org> --------- Signed-off-by: Gilver <rockgrub@disroot.org>
12 lines
337 B
Plaintext
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);
|
|
}
|