mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-21 19:10:39 +00:00
3b0169c5fe
* chore(zig-bootstrap): Add updbranch label so it stops breaking updates on <= F41
* Rebase onto f41 (I hope)
* Backport Zig stuff
---------
(cherry picked from commit d45c262dce)
Signed-off-by: Gilver <rockgrub@disroot.org>
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);
|
|
}
|