mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-02 09:52:18 +00:00
a3e7d78ef5
(cherry picked from commit 7c0ad3a590)
Signed-off-by: GildedRoach <GildedRoach@users.noreply.github.com>
13 lines
445 B
Plaintext
13 lines
445 B
Plaintext
import "andax/bump_extras.rhai" as bump;
|
|
|
|
rpm.version(bump::madoguchi("zig-master", labels.branch));
|
|
|
|
if rpm.changed() {
|
|
let r = bump::madoguchi_json("zig-master", labels.branch).rel;
|
|
let r = sub(`(?m)(\.fc.*?|)$`, "", r).parse_int();
|
|
rpm.release(r + 1);
|
|
// Update the needed LLVM version
|
|
let rawfile = codeberg_rawfile("ziglang/zig", "master", "README.md");
|
|
rpm.global("llvm_version", find(`download.html#([\d.]+)`, rawfile, 1));
|
|
}
|