| Message ID | 20261028-docs-checkout-releases-svg-v1-1-0b53b84704bc@bootlin.com |
|---|---|
| State | New |
| Headers | show |
| Series | [yocto-autobuilder-helper] scripts/run-docs-build: checkout release diagram from master | expand |
diff --git a/scripts/run-docs-build b/scripts/run-docs-build index 5f5fa05..438a1fd 100755 --- a/scripts/run-docs-build +++ b/scripts/run-docs-build @@ -219,7 +219,7 @@ for branch in "$ypdocsbranch" dunfell $(git branch --remote --contains "$first_s git apply -3 "${scriptdir}/docs-build-patches/${branch}/"000* fi - git checkout origin/master sphinx-static/switchers.js.in set_versions.py _templates/footer.html + git checkout origin/master sphinx-static/switchers.js.in set_versions.py _templates/footer.html ref-manual/svg/releases.svg if [ -e poky.yaml ]; then cp poky.yaml poky.yaml.in fi
The release diagram should be a current representation of the active releases of the Yocto Project. Instead of manually backporting this diagram on old branches of the documentation, we can checkout the diagram directly from master instead. That way, the diagram will only need to be updated on master every new release. Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> --- scripts/run-docs-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- base-commit: 25c09c41fdec35f00a8d225f25e69052fdb2596e change-id: 20261028-docs-checkout-releases-svg-5268f4da6231