Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest stable
verison.

Before the patch:
$ devtool latest-version ade
INFO: Current version: 0.1.2e
INFO: Latest version: 0.1.2
INFO: Latest version's commit: ffc83ad372d72b16732f201d8a9d1d80dd16515b

After the patch:
$ devtool latest-version ade
INFO: Current version: 0.1.2e
INFO: Latest version: 0.1.2e
INFO: Latest version's commit: ffc83ad372d72b16732f201d8a9d1d80dd16515b

Signed-off-by: Yi Zhao <[email protected]>
---
 meta-oe/recipes-support/opencv/ade_0.1.2e.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-support/opencv/ade_0.1.2e.bb 
b/meta-oe/recipes-support/opencv/ade_0.1.2e.bb
index a7af2f2da9..a6ae4fdbec 100644
--- a/meta-oe/recipes-support/opencv/ade_0.1.2e.bb
+++ b/meta-oe/recipes-support/opencv/ade_0.1.2e.bb
@@ -10,6 +10,8 @@ SRCREV = "ffc83ad372d72b16732f201d8a9d1d80dd16515b"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+[a-z]?)"
+
 inherit cmake
 
 EXTRA_OECMAKE += " -DCMAKE_BUILD_TYPE=Release"
-- 
2.34.1

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

Reply via email to