ipmtool: add UPSTREAM_CHECK_GITTAGREGEX

Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest stable
verison.

Before the patch:
$ devtool latest-version ipmitool
INFO: Current version: 1.8.19
INFO: Latest version: 10.
INFO: Latest version's commit: 990f9672c9581ab5fcb6bfed98f5da12edd29411

After the patch:
$ devtool latest-version ipmitool
INFO: Current version: 1.8.19
INFO: Latest version: 1.8.19
INFO: Latest version's commit: 19d78782d795d0cf4ceefe655f616210c9143e62

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 2024-09-28 17:33:51 +08:00 committed by Khem Raj
parent 5de95a5b7a
commit b4b8251b71
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -26,6 +26,9 @@ SRC_URI = "git://codeberg.org/ipmitool/ipmitool;protocol=https;branch=master \
${IANA_ENTERPRISE_NUMBERS} \
file://0001-csv-revision-Drop-the-git-revision-info.patch \
"
UPSTREAM_CHECK_GITTAGREGEX = "IPMITOOL_(?P<pver>\d+(_\d+)+)"
IANA_ENTERPRISE_NUMBERS ?= ""
# Add these via bbappend if this database is needed by the system