diff mbox series

[meta-networking,23/27] open62541: add UPSTREAM_CHECK variables and include tag in the SRC_URI

Message ID 20260818050123.2901739-23-ankur.tyagi85@gmail.com
State Under Review
Headers show
Series [meta-gnome,1/27] file-roller: upgrade 44.5 -> 44.7 | expand

Commit Message

Ankur Tyagi Aug. 18, 2026, 5:01 a.m. UTC
From: Ankur Tyagi <ankur.tyagi85@gmail.com>

Fixes:
$ devtool latest-version open62541
...
INFO: Current version: 1.5.6
INFO: Latest version: 256

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
---
 meta-networking/recipes-protocols/opcua/open62541_1.5.6.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-networking/recipes-protocols/opcua/open62541_1.5.6.bb b/meta-networking/recipes-protocols/opcua/open62541_1.5.6.bb
index adb500c954..8126132773 100644
--- a/meta-networking/recipes-protocols/opcua/open62541_1.5.6.bb
+++ b/meta-networking/recipes-protocols/opcua/open62541_1.5.6.bb
@@ -14,12 +14,13 @@  SRCREV_ua-nodeset = "257db9ad98ee7ba4b67d3500b54bfc9d744a36af"
 SRCREV_mqtt-c = "0f4c34c8cc00b16cfee094745d68b8cdbaecd8e0"
 
 SRC_URI = " \
-    git://github.com/open62541/open62541.git;name=opcua;branch=1.5;protocol=https \
+    git://github.com/open62541/open62541.git;name=opcua;branch=1.5;protocol=https;tag=v${PV} \
     git://github.com/troglobit/mdnsd.git;name=mdnsd;protocol=https;branch=master;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/deps/mdnsd \
     git://github.com/OPCFoundation/UA-Nodeset;name=ua-nodeset;protocol=https;branch=latest;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/deps/ua-nodeset \
     git://github.com/LiamBindle/MQTT-C.git;name=mqtt-c;protocol=https;branch=master;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/deps/mqtt-c \
 "
 
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
 
 inherit cmake python3native