diff mbox series

[yocto-autobuilder-helper,1/4] scripts/run-docs-build: do not run set_versions.py manually

Message ID 20260223-fix-switchers-js-ydocs-v1-1-6f58a78ee8c3@bootlin.com
State New
Headers show
Series Adaptation for the new yocto-docs switcher menu | expand

Commit Message

Antonin Godard Feb. 23, 2026, 11:03 a.m. UTC
Recent changes to the set_versions.py script make this unnecessary, as
the version is automatically deduced in the script already.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
 scripts/run-docs-build | 8 --------
 1 file changed, 8 deletions(-)
diff mbox series

Patch

diff --git a/scripts/run-docs-build b/scripts/run-docs-build
index 1d3b099..e64e447 100755
--- a/scripts/run-docs-build
+++ b/scripts/run-docs-build
@@ -202,14 +202,6 @@  for branch in "$ypdocsbranch" dunfell $(git branch --remote --contains "$first_s
     git checkout origin/master sphinx-static/switchers.js.in set_versions.py
     if [ -e poky.yaml ]; then
         cp poky.yaml poky.yaml.in
-        case $branch in
-            yocto-*)
-                ./set_versions.py $(echo "$branch" | sed 's/yocto-//')
-                ;;
-            *)
-                ./set_versions.py
-                ;;
-        esac
     fi
 
     (