diff mbox series

[meta-oe,1/6] ipmtool: add UPSTREAM_CHECK_GITTAGREGEX

Message ID 20240928093356.3992191-1-yi.zhao@windriver.com
State New
Headers show
Series [meta-oe,1/6] ipmtool: add UPSTREAM_CHECK_GITTAGREGEX | expand

Commit Message

Yi Zhao Sept. 28, 2024, 9:33 a.m. UTC
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>
---
 meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb b/meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb
index dcd3edaf3..f53150cfa 100644
--- a/meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb
+++ b/meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb
@@ -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