[yocto-autobuilder-helper][PATCH] scripts/run-docs-build: skip milestone tags

Antonin Godard <[email protected]>
Newsgroups org.yoctoproject.lists.yocto-patches
Message-ID <[email protected]>
Milestones tags in the form of "yocto-X.Y_MZ" were recently introduced
but we don't need to build them, and they're currently breaking the
build of the docs. Skip them when we match them.

Signed-off-by: Antonin Godard <[email protected]>
---
A fix to the docs is also planned to be sent for building on these tags.
---
 scripts/run-docs-build | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/scripts/run-docs-build b/scripts/run-docs-build
index dfe3265..268ce73 100755
--- a/scripts/run-docs-build
+++ b/scripts/run-docs-build
@@ -196,6 +196,11 @@ for branch in "$ypdocsbranch" dunfell $(git branch --remote --contains "$first_s
         continue
     fi
 
+    # skip milestone tags
+    if [[ $branch =~ yocto-.*_M[0-9] ]]; then
+      continue
+    fi
+
     echo Building $branch
     git checkout $branch
     git reset --hard

---
base-commit: 0742f9ec479b344a987e800dd0ca7e25850d7450
change-id: 20260409-docs-skip-milestone-tags-227a046e6efd
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.