diff mbox series

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

Message ID 20260409-docs-skip-milestone-tags-v1-1-f78f1f9bdeed@bootlin.com
State New
Headers show
Series [yocto-autobuilder-helper] scripts/run-docs-build: skip milestone tags | expand

Commit Message

Antonin Godard April 9, 2026, 12:55 p.m. UTC
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 <antonin.godard@bootlin.com>
---
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(+)


---
base-commit: 0742f9ec479b344a987e800dd0ca7e25850d7450
change-id: 20260409-docs-skip-milestone-tags-227a046e6efd
diff mbox series

Patch

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