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

Antonin Godard <[email protected]>
Newsgroups org.yoctoproject.lists.yocto-patches,org.yoctoproject.lists.docs
Message-ID <[email protected]>
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 <[email protected]>
---
 scripts/run-docs-build | 3 +++
 1 file changed, 3 insertions(+)

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

---
base-commit: 1a4d66183644561412603af75ef5e90e54680a24
change-id: 20241118-checkout-releases-svg-641da122eca4
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.