Files
packages/anda/multimedia/ffmpeg/update.rhai
T
madomado b085f8d422 feat(ffmpeg): bump release automatically when files changed (#5073)
* fix(ffmpeg): update.rhai

* feat(ffmpeg): bump release automatically when files changed

* feat(ffmpeg): autobump release when dep updates

* feat: andax/ci/bump_release.rhai

---------

Signed-off-by: madomado <madonuko@outlook.com>
2025-05-30 10:20:41 +08:00

11 lines
570 B
Plaintext

import "andax/bump_extras.rhai" as bump;
import "andax/spec.rhai" as spec;
rpm.version(find(`<small>ffmpeg-([\d.]+?)\.tar\.xz</small>`, get("https://ffmpeg.org/download.html"), 1));
open_file("anda/multimedia/ffmpeg/VERSION_x265.txt", "w").write(bump::madoguchi("x265", labels.branch));
open_file("anda/multimedia/ffmpeg/VERSION_tesseract.txt", "w").write(bump::bodhi("tesseract", bump::as_bodhi_ver(labels.branch)));
open_file("anda/multimedia/ffmpeg/VERSION_vvenc.txt", "w").write(bump::madoguchi("vvenc-libs", labels.branch));
import "andax/ci/bump_release.rhai";