diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2025-11-12 21:43:53 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-11-12 09:38:58 -0800 |
| commit | 57d1a1abec5aa0b9589d46cbb5d8373b035d9c1d (patch) | |
| tree | d891a6c11aac24be9a270c570118e3536c6942e9 | |
| parent | 540114e5faa3b46f2f7ab6c5a88f433241a2683a (diff) | |
| download | meta-openembedded-57d1a1abec5aa0b9589d46cbb5d8373b035d9c1d.tar.gz | |
hstr: add UPSTREAM_CHECK_URI
Add UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to check the correct
latest stable verison.
Before the patch:
$ devtool latest-version hstr
INFO: Current version: 3.1.0
INFO: Latest version:
After the patch:
$ devtool latest-version hstr
INFO: Current version: 3.1.0
INFO: Latest version: 3.1
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-support/hstr/hstr_3.1.0.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/hstr/hstr_3.1.0.bb b/meta-oe/recipes-support/hstr/hstr_3.1.0.bb index 0ee900ca3d..96be8bd09f 100644 --- a/meta-oe/recipes-support/hstr/hstr_3.1.0.bb +++ b/meta-oe/recipes-support/hstr/hstr_3.1.0.bb | |||
| @@ -14,4 +14,7 @@ S = "${UNPACKDIR}/${BPN}" | |||
| 14 | 14 | ||
| 15 | SRC_URI[sha256sum] = "4dabf61f045f022bac8bc909e5fd96041af6c53df56d97dfa3cfbf49af4453a5" | 15 | SRC_URI[sha256sum] = "4dabf61f045f022bac8bc909e5fd96041af6c53df56d97dfa3cfbf49af4453a5" |
| 16 | 16 | ||
| 17 | UPSTREAM_CHECK_URI = "https://github.com/dvorka/hstr/releases" | ||
| 18 | UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+(\.\d+)+)" | ||
| 19 | |||
| 17 | inherit autotools pkgconfig bash-completion | 20 | inherit autotools pkgconfig bash-completion |
