diff mbox series

[yocto-autobuilder-helper,3/3] scripts/run-docs-build: copy the releases.json file for the bitbake build

Message ID 20260317-fix-releases-json-generation-v1-3-f57f3267c88a@bootlin.com
State New
Headers show
Series run-docs-build: fixes after bitbake docs generation updates | expand

Commit Message

Antonin Godard March 17, 2026, 12:34 p.m. UTC
After [1] we are now using the releases.json file to determine the
active releases for the bitbake docs build. Avoid fetching it for each
build by copying the pre-generated version in the documentation
directory.

[1]: https://git.openembedded.org/bitbake/commit/?id=b55497ab7e29eec398fe52359878a76b185e1af0

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
 scripts/run-docs-build | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/scripts/run-docs-build b/scripts/run-docs-build
index a58abe1..cc902c6 100755
--- a/scripts/run-docs-build
+++ b/scripts/run-docs-build
@@ -133,6 +133,7 @@  for branch in 1.46 $(git branch --remote --contains "$first_sphinx_commit" --for
     (
         . $builddir/buildtools/environment-setup*
         make clean
+        cp "$builddir"/releases.json "$bbdocs"/
         SPHINXOPTS="-j auto" make publish
     )