diff --git a/anda/lib/openh264/update.rhai b/anda/lib/openh264/update.rhai index 68b90ffb62..fee9014efa 100644 --- a/anda/lib/openh264/update.rhai +++ b/anda/lib/openh264/update.rhai @@ -1,4 +1,6 @@ rpm.global("commit1", get("https://api.github.com/repos/mozilla/gmp-api/commits/HEAD").json().sha); -rpm.global("openh264_version", gh("cisco/openh264")); +let h264 = gh("cisco/openh264"); +h264.crop(1); +rpm.global("openh264_version", h264); let html = get("https://gstreamer.freedesktop.org/src/gst-plugins-bad/?C=N;O=D"); rpm.global("gst_version", find("gst-plugins-bad-([\\d.]+).tar.xz", html, 1));