re2: add UPSTREAM_CHECK_GITTAGREGEX
PATCH 1/1 re2: add UPSTREAM_CHECK_GITTAGREGEX
Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest stable verison.
Before the patch:
$ devtool latest-version re2 INFO: Current version: 2024.03.01 INFO: Latest version: 2025 INFO: Latest version's commit: 927f5d53caf8111721e734cf24724686bb745f55
After the patch:
$ devtool latest-version re2 INFO: Current version: 2024.03.01 INFO: Latest version: 2025-11-05 INFO: Latest version's commit: 927f5d53caf8111721e734cf24724686bb745f55
Signed-off-by Yi Zhao <[email protected]>
--- meta-oe/recipes-support/re2/re2_2024.03.01.bb | 1 + 1 file changed, 1 insertion(+)
meta-oe/recipes-support/re2/re2_2024.03.01.bb +1 -0
@@ -10,6 +10,7 @@ SRC_URI = "git://github.com/google/re2.git;branch=main;protocol=https \ ${@bb.utils.contains('PTEST_ENABLED', '1', 'file://run-ptest', '', d)} \ " +UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(-\d+)+)" DEPENDS = "abseil-cpp ${@bb.utils.contains('PTEST_ENABLED', '1', 'gtest googlebenchmark', '', d)}"
Signature · 1 line
2.34.1