director.py: restore READTHEDOCS_VERSION_[TYPE|NAME]
These env vars were accidentally removed in
This commit
naively restores the 2 missing env variables in the new
get_rtd_env_vars() location.
@@ -401,6 +401,8 @@ class BuildDirector:
env = {
"READTHEDOCS": "True",
"READTHEDOCS_VERSION": self.data.version.slug,
+ "READTHEDOCS_VERSION_TYPE": self.data.version.type,
+ "READTHEDOCS_VERSION_NAME": self.data.version.verbose_name,
"READTHEDOCS_PROJECT": self.data.project.slug,
"READTHEDOCS_LANGUAGE": self.data.project.language,
}
