mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-11 14:10:42 +00:00
d6d0d53b70
* feat: Split Zig package into bootstrap and full build, have full build track bootstrap
* fix: Folder typo
(cherry picked from commit c81bad9d44)
Co-authored-by: Gilver <rockgrub@disroot.org>
9 lines
333 B
Plaintext
9 lines
333 B
Plaintext
import "andax/bump_extras.rhai" as bump;
|
|
|
|
rpm.version(bump::madoguchi("zig-master-bootstrap", labels.branch));
|
|
if rpm.changed () {
|
|
let v = sh("cat anda/langs/zig/bootstrap/zig-master-bootstrap.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout;
|
|
v.pop();
|
|
rpm.global("ver", v);
|
|
}
|