Handle no tags in docs build job
This MR attempts to fix an issue with the documentation
build job when running on forks that don't have tags in the git history.
This MR attempts to fix an issue with the documentation
build job when running on forks that don't have tags in the git history.