Add UPSTREAM_CHECK_REGEX to check the correct latest stable verison.

Before the patch:
$ devtool latest-version tcpreplay
INFO: Current version: 4.5.2
INFO: Latest version:

After the patch:
$ devtool latest-version tcpreplay
INFO: Current version: 4.5.2
INFO: Latest version: 4.5.2

Signed-off-by: Yi Zhao <[email protected]>
---
 meta-networking/recipes-support/tcpreplay/tcpreplay_4.5.2.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-networking/recipes-support/tcpreplay/tcpreplay_4.5.2.bb 
b/meta-networking/recipes-support/tcpreplay/tcpreplay_4.5.2.bb
index 96a7087b0b..efcbb13439 100644
--- a/meta-networking/recipes-support/tcpreplay/tcpreplay_4.5.2.bb
+++ b/meta-networking/recipes-support/tcpreplay/tcpreplay_4.5.2.bb
@@ -14,6 +14,7 @@ SRC_URI = 
"https://github.com/appneta/${BPN}/releases/download/v${PV}/${BP}.tar.
 SRC_URI[sha256sum] = 
"ccff3bb29469a04ccc20ed0b518e3e43c4a7b5a876339d9435bfd9db7fe5d0f1"
 
 UPSTREAM_CHECK_URI = "https://github.com/appneta/tcpreplay/releases";
+UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)"
 
 DEPENDS = "libpcap"
 
-- 
2.34.1

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

Reply via email to