diff mbox series

[yocto-autobuilder-helper] scripts/run-docs-build: checkout releases diagram from master

Message ID 20260413-checkout-releases-svg-v1-1-c0fb7ba0dcd0@bootlin.com
State New
Headers show
Series [yocto-autobuilder-helper] scripts/run-docs-build: checkout releases diagram from master | expand

Commit Message

Antonin Godard April 13, 2026, 2 p.m. UTC
This diagram needs to be up-to-date on every release (when the release
has the diagram included), because it represents the list of
dev, current, and EOL releases. Checkout the diagram from master to avoid
having to manually backport it by hand.

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


---
base-commit: 1a4d66183644561412603af75ef5e90e54680a24
change-id: 20241118-checkout-releases-svg-641da122eca4
diff mbox series

Patch

diff --git a/scripts/run-docs-build b/scripts/run-docs-build
index 268ce73..acd8a24 100755
--- a/scripts/run-docs-build
+++ b/scripts/run-docs-build
@@ -215,6 +215,9 @@  for branch in "$ypdocsbranch" dunfell $(git branch --remote --contains "$first_s
     if [ -e poky.yaml ]; then
         cp poky.yaml poky.yaml.in
     fi
+    if [ -f ref-manual/svg/releases.svg ]; then
+      git checkout origin/master ref-manual/svg/releases.svg
+    fi
 
     (
         # Anything older than scarthgap needs the older buildtools