Update UPSTREAM_CHECK_GITTAGREGEX to check the correct latest stable
verison.

Before the patch:
$ devtool latest-version protobuf
INFO: Current version: 6.31.1
INFO: Latest version:

After the patch:
$ devtool latest-version protobuf
INFO: Current version: 6.31.1
INFO: Latest version: 6.31.1
INFO: Latest version's commit: 74211c0dfc2777318ab53c2cd2c317a2ef9012de

Signed-off-by: Yi Zhao <[email protected]>
---
 meta-oe/recipes-devtools/protobuf/protobuf_6.31.1.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_6.31.1.bb 
b/meta-oe/recipes-devtools/protobuf/protobuf_6.31.1.bb
index 90be1179aa..37b26b610d 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf_6.31.1.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf_6.31.1.bb
@@ -22,8 +22,7 @@ SRC_URI = 
"git://github.com/protocolbuffers/protobuf.git;branch=31.x;protocol=ht
            "
 SRC_URI:append:mipsarcho32:toolchain-clang = " 
file://0001-Fix-build-on-mips-clang.patch "
 
-UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>.(25\.(\d+)))"
-
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d\.\d+\.\d+)"
 
 CVE_PRODUCT = "google:protobuf protobuf:protobuf google-protobuf protobuf-cpp"
 
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#121546): 
https://lists.openembedded.org/g/openembedded-devel/message/121546
Mute This Topic: https://lists.openembedded.org/mt/116255840/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to