ade: add UPSTREAM_CHECK_GITTAGREGEX

Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest stable
verison.

Before the patch:
$ devtool latest-version ade
INFO: Current version: 0.1.2e
INFO: Latest version: 0.1.2
INFO: Latest version's commit: ffc83ad372d72b16732f201d8a9d1d80dd16515b

After the patch:
$ devtool latest-version ade
INFO: Current version: 0.1.2e
INFO: Latest version: 0.1.2e
INFO: Latest version's commit: ffc83ad372d72b16732f201d8a9d1d80dd16515b

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Yi Zhao 2025-11-12 21:43:48 +08:00 committed by Khem Raj
parent 7d800ebd21
commit b141991577
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -10,6 +10,8 @@ SRCREV = "ffc83ad372d72b16732f201d8a9d1d80dd16515b"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+[a-z]?)"
inherit cmake
EXTRA_OECMAKE += " -DCMAKE_BUILD_TYPE=Release"