diff --git a/docs/docsite/Makefile b/docs/docsite/Makefile index 8993da1e3e5..c3c2d4c7213 100644 --- a/docs/docsite/Makefile +++ b/docs/docsite/Makefile @@ -118,7 +118,7 @@ config: ../templates/config.rst.j2 # For now, if we're building on devel, just build base docs. In the future we'll want to build docs that # are the latest versions on galaxy (using a different antsibull-docs subcommand) plugins: - if expr "$(VERSION)" : '.*[.]dev[0-9]\+$$' &> /dev/null; then \ + if expr "$(VERSION)" : '.*[.]dev[0-9]\{1,\}$$' &> /dev/null; then \ $(PLUGIN_FORMATTER) base -o rst $(PLUGIN_ARGS);\ else \ $(PLUGIN_FORMATTER) full -o rst $(PLUGIN_ARGS);\