diff mbox series

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

Message ID 20260212-fix-switchers-js-ydocs-v1-1-ab1113759747@bootlin.com
State New
Headers show
Series scripts/run-docs-build: Adapt to new yocto-docs switchers.js | expand

Commit Message

Antonin Godard Feb. 12, 2026, 8:39 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 67473e6..afc05d1 100755
--- a/scripts/run-docs-build
+++ b/scripts/run-docs-build
@@ -196,14 +196,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
 
     (