diff mbox series

[meta-security,5/8] scap-security-guide: add UPSTREAM_CHECK_GITTAGREGEX

Message ID a2018964320d084cfa6f8fcfa2809d534c030531.1766420960.git.scott.murray@konsulko.com
State New
Headers show
Series Assorted updates 12/22 | expand

Commit Message

Scott Murray Dec. 22, 2025, 4:51 p.m. UTC
From: Yi Zhao <yi.zhao@eng.windriver.com>

Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest stable
verison.

Before the patch:
$ devtool latest-version scap-security-guide
INFO: Current version: 0.1.78
INFO: Latest version: 0.5.0
INFO: Latest version's commit: b0a1b1c3db40f5fe8610c43cbc391bde92cc78b6

After the patch:
$ devtool latest-version scap-security-guide
INFO: Current version: 0.1.78
INFO: Latest version: 0.1.78
INFO: Latest version's commit: f7d794851971087db77d4be8eeb716944a1aae21

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
 .../scap-security-guide/scap-security-guide_0.1.78.bb            | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/recipes-compliance/scap-security-guide/scap-security-guide_0.1.78.bb b/recipes-compliance/scap-security-guide/scap-security-guide_0.1.78.bb
index 8489218..40a677f 100644
--- a/recipes-compliance/scap-security-guide/scap-security-guide_0.1.78.bb
+++ b/recipes-compliance/scap-security-guide/scap-security-guide_0.1.78.bb
@@ -11,6 +11,7 @@  SRC_URI = "git://github.com/ComplianceAsCode/content.git;nobranch=1;protocol=htt
            file://run_eval.sh \
            "
 
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)$"
 
 DEPENDS = "openscap-native python3-pyyaml-native python3-jinja2-native libxml2-native expat-native coreutils-native"