mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-03 10:22:19 +00:00
57950dd120
* 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>
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);
|
|
}
|