mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-28 22:38:26 +00:00
edc3d34f94
(cherry picked from commit c810c471e0)
Co-authored-by: Gilver <rockgrub@disroot.org>
10 lines
371 B
Plaintext
10 lines
371 B
Plaintext
import "andax/bump_extras.rhai" as bump;
|
|
|
|
rpm.version(bump::madoguchi("zig-master-bootstrap", labels.branch));
|
|
if rpm.changed() {
|
|
// This could be done with the rhai-rand Crate but Anda does not use this currently
|
|
let mirror = sh("anda/langs/zig/bootstrap/choose-mirror.sh", #{"stdout": "piped"}).ctx.stdout;
|
|
mirror.pop();
|
|
rpm.global("mirror_url", mirror);
|
|
}
|