Add UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to check the correct
latest stable verison.

Before the patch:
$ devtool latest-version xmlsec1
INFO: Current version: 1.3.7
INFO: Latest version:

After the patch:
$ devtool latest-version xmlsec1
INFO: Current version: 1.3.7
INFO: Latest version: 1.3.9

Signed-off-by: Yi Zhao <[email protected]>
---
 meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.7.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.7.bb 
b/meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.7.bb
index 3e97bde86c..1990444dcc 100644
--- a/meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.7.bb
+++ b/meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.7.bb
@@ -24,6 +24,9 @@ SRC_URI = 
"https://github.com/lsh123/xmlsec/releases/download/${PV}/${BP}.tar.gz
 
 SRC_URI[sha256sum] = 
"d82e93b69b8aa205a616b62917a269322bf63a3eaafb3775014e61752b2013ea"
 
+UPSTREAM_CHECK_URI = "https://github.com/lsh123/xmlsec/releases";
+UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+(\.\d+)+)"
+
 inherit autotools-brokensep ptest pkgconfig
 
 #CFLAGS += "-I${STAGING_INCDIR}/nss3"
-- 
2.34.1

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

Reply via email to