diff --git a/scripts/run-docs-build b/scripts/run-docs-build
index cca4e4d..73cba3f 100755
--- a/scripts/run-docs-build
+++ b/scripts/run-docs-build
@@ -111,11 +111,7 @@ for tag in $(git tag --list 'yocto-*'); do
         echo Processing $tag
         cd $ypdocs
         git checkout $tag
-        # Update versions tagged before the current_version in
-        # conf.py was changed resulting in sphinx believing these are
-        # development branches which breaks all sorts of assumptions. Moving a
-        # tag isn't best practice so we just patch the releases here instead.
-        if [ "$tag" = "yocto-3.3" ] || [ "$tag" = "yocto-3.3.5" ] || [ "$tag" = "yocto-3.4" ] || [ "$tag" = "yocto-3.1.14" ] || [ "$tag" = "yocto-3.4.2" ] ; then
+	if [ -e "${scriptdir}/docs-build-patches/${tag}/" ]; then
             echo Adding patch for $tag
             git am "${scriptdir}/docs-build-patches/${tag}/"000*
         fi
