summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/search.py
diff options
context:
space:
mode:
authorAntonin Godard <antonin.godard@bootlin.com>2025-04-09 11:55:41 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-05-25 12:37:57 +0100
commitc0e00b017f9755bb3c797718a9bda9e629d27770 (patch)
tree6ced066ef97d7f602491d0bec22d31badf3aea3e /scripts/lib/devtool/search.py
parent51a68b0a42c2c5ed9865c2870f68a1a60845ff6e (diff)
downloadpoky-c0e00b017f9755bb3c797718a9bda9e629d27770.tar.gz
poky.yaml: introduce DISTRO_LATEST_TAG
Introduce the DISTRO_LATEST_TAG macro, which should always point to the latest existing tag in the documentation, unlike DISTRO which may point to A.B.999 to represent the tip of a branch. This variable is needed to fix dead links in the documentation that currently use the DISTRO macro. Also, make DISTRO_REL_TAG use the DISTRO macro directly, to avoid repetition, and add a DISTRO_REL_LATEST_TAG macro that has the same role as DISTRO_LATEST_TAG but with "yocto-" prepended to it. In set_versions.py, run the "git describe --abbrev=0 --tags --match='yocto-*'" command to get the latest existing tag on the currently checked out commit. Fallback to ourversion in case we didn't find any. (From yocto-docs rev: 6554f50b3fb424a746ba4136fad7510e950f4b3b) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> (cherry picked from commit a85b0e500c94921f77fa7b7dbb877e4945f96d1e) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/search.py')
0 files changed, 0 insertions, 0 deletions