Skip to content

Commit

Permalink
ndctl: add UPSTREAM_CHECK_GITTAGREGEX
Browse files Browse the repository at this point in the history
Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest version.

Before the patch:
$ devtool latest-version ndctl
INFO: Current version: v69
INFO: Latest version: 20150514
INFO: Latest version's commit: b6c7999a9f0115bac0d55f0d278674b03b0dd19e

After the patch:
$ devtool latest-version ndctl
INFO: Current version: v69
INFO: Latest version: v72
INFO: Latest version's commit: 25062cf34c70012f5d42ce1fef7e2dc129807c10

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information
yizhao1 authored and kraj committed Dec 31, 2021
1 parent a66749e commit f20be1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions meta-oe/recipes-core/ndctl/ndctl_v69.bb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ inherit autotools-brokensep pkgconfig bash-completion systemd
SRCREV = "ea62d6d53bf6f806c4841e97a370201e18446860"
SRC_URI = "git://github.com/pmem/ndctl.git;branch=master;protocol=https"

UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>v\d+(\.\d+)*)"

DEPENDS = "kmod udev json-c keyutils"

S = "${WORKDIR}/git"
Expand Down

0 comments on commit f20be1f

Please sign in to comment.