[oe][meta-webserver][PATCH 15/15] cockpit: add UPSTREAM_CHECK variables

[email protected]
Newsgroups org.openembedded.lists.openembedded-devel
Message-ID <[email protected]>
From: Ankur Tyagi <[email protected]>

Fixes:
$ devtool latest-version cockpit
...
INFO: Current version: 364
INFO: Latest version:

Signed-off-by: Ankur Tyagi <[email protected]>
---
 meta-webserver/recipes-webadmin/cockpit/cockpit_364.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-webserver/recipes-webadmin/cockpit/cockpit_364.bb b/meta-webserver/recipes-webadmin/cockpit/cockpit_364.bb
index 07e2b9d163..2b9c7677fe 100644
--- a/meta-webserver/recipes-webadmin/cockpit/cockpit_364.bb
+++ b/meta-webserver/recipes-webadmin/cockpit/cockpit_364.bb
@@ -11,6 +11,9 @@ SRC_URI += " \
     "
 SRC_URI[sha256sum] = "514cea072e1ef137323ab92bdb07a66bbb5106ecd584e7a046294cf0170cb690"
 
+UPSTREAM_CHECK_URI = "https://github.com/cockpit-project/cockpit/tags"
+UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+(\.\d+)*)"
+
 inherit gettext pkgconfig autotools systemd features_check python3targetconfig
 
 DEPENDS += "glib-2.0-native intltool-native gnutls virtual/gettext json-glib krb5 libpam systemd python3-pip-native python3-setuptools-native"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.