diff --git a/bin/doc-tools-check-languages b/bin/doc-tools-check-languages index a8ae63df..8f6bcab4 100755 --- a/bin/doc-tools-check-languages +++ b/bin/doc-tools-check-languages @@ -242,8 +242,11 @@ function handle_draft_language { ;; install-guide) for tag in $INSTALL_TAGS ; do - mv publish-docs/$language/$book-${tag} \ - publish-docs/draft/$language/$book-${tag} + # Not all tags might be build on all branches + if [[ -d publish-docs/$language/$book-${tag} ]] ; then + mv publish-docs/$language/$book-${tag} \ + publish-docs/draft/$language/$book-${tag} + fi done rmdir --ignore-fail-on-non-empty publish-docs/$language/ ;; diff --git a/releasenotes/notes/docbuild-mitaka-52668f8862e88552.yaml b/releasenotes/notes/docbuild-mitaka-52668f8862e88552.yaml new file mode 100644 index 00000000..47d6c074 --- /dev/null +++ b/releasenotes/notes/docbuild-mitaka-52668f8862e88552.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - Fix building of translations on older branches where the DebConf + Install Guide does not exist.