diff mbox series

[meta-oe,59/69] lcov: Fix upstream version check

Message ID 20261127003425.2166632-60-khem.raj@oss.qualcomm.com
State New
Headers show
Series Upstream version check fixes | expand

Commit Message

Khem Raj Nov. 27, 2026, 12:34 a.m. UTC
The unanchored regex matched numbers anywhere in the GitHub releases
page markup and reported 11.28. Match only release tag links.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 meta-oe/recipes-support/lcov/lcov_2.6.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/lcov/lcov_2.6.bb b/meta-oe/recipes-support/lcov/lcov_2.6.bb
index cd37a6cce5..17276ddcdf 100755
--- a/meta-oe/recipes-support/lcov/lcov_2.6.bb
+++ b/meta-oe/recipes-support/lcov/lcov_2.6.bb
@@ -63,7 +63,7 @@  SRC_URI = "https://github.com/linux-test-project/lcov/releases/download/v${PV}/l
 SRC_URI[sha256sum] = "67a45db99b8ef0260c3fac9a2e3749fd8fa350a15e235dd3c29b356d97755c75"
 
 UPSTREAM_CHECK_URI = "https://github.com/linux-test-project/lcov/releases"
-UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
+UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)$"
 
 do_install() {
     # Pass the runtime PREFIX and the staging DESTDIR separately. lcov's