[oe][meta-networking][PATCH 15/27] libcoap: add UPSTREAM_CHECK_GITTAGREGEX variable

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

Fixes:
$ devtool latest-version libcoap
...
INFO: Current version: 4.3.5b
INFO: Latest version: 4.3.5
INFO: Latest version's commit: 851533c3cf63d16984d370ce39d586ecb3694971

Signed-off-by: Ankur Tyagi <[email protected]>
---
 meta-networking/recipes-devtools/libcoap/libcoap_4.3.5b.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-networking/recipes-devtools/libcoap/libcoap_4.3.5b.bb b/meta-networking/recipes-devtools/libcoap/libcoap_4.3.5b.bb
index e8864dcf34..e5bbdb9e27 100644
--- a/meta-networking/recipes-devtools/libcoap/libcoap_4.3.5b.bb
+++ b/meta-networking/recipes-devtools/libcoap/libcoap_4.3.5b.bb
@@ -12,6 +12,8 @@ SRC_URI = "git://github.com/obgm/libcoap.git;branch=release-4.3.5-patches;protoc
            "
 SRCREV = "851533c3cf63d16984d370ce39d586ecb3694971"
 
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+(?:[a-z]))"
+
 # patch releases often use alphabetical suffixes
 CVE_VERSION_SUFFIX = "alphabetical"
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.