Skip to content

Commit

Permalink
Environment variables
Browse files Browse the repository at this point in the history
Pass `READTHEDOCS_VERSION_TYPE` and `READTHEDOCS_VERSION_NAME` that were missed
because a merge conflict.

These variables were added in #8237
  • Loading branch information
humitos committed Mar 16, 2022
1 parent f9c92ef commit 17f0ca2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions readthedocs/doc_builder/director.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,8 @@ def get_rtd_env_vars(self):
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,
}
Expand Down

0 comments on commit 17f0ca2

Please sign in to comment.