mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
13 lines
508 B
Plaintext
13 lines
508 B
Plaintext
import "andax/bump_extras.rhai" as bump;
|
|
import "andax/spec.rhai" as spec;
|
|
|
|
rpm.version(find(`\s+VERSION ([\d.]+)`, gh_rawfile("v-novaltd/LCEVCdec", "main", "CMakeLists.txt"), 1));
|
|
|
|
open_file("anda/multimedia/LCEVCdec/VERSION_ffmpeg.txt", "w").write(bump::madoguchi("ffmpeg", labels.branch));
|
|
|
|
let dir = sub(`/[^/]+$`, "", __script_path);
|
|
if sh("[[ `git status " + dir + " --porcelain` ]] && exit 1 || exit 0", #{}).ctx.rc == 1 {
|
|
let rel = spec::get_release(rpm).parse_int();
|
|
rpm.release(rel + 1);
|
|
}
|