Skip to content

Commit 2e1a750

Browse files
svekarsdbort
authored andcommitted
Enable doc job to run on -rc tags. (#3345)
Summary: Pull Request resolved: #3345 Reviewed By: dbort Differential Revision: D56557091 Pulled By: svekars fbshipit-source-id: 4300ca86d01ec110fc6934588cd691c12661a730
1 parent f9aa51c commit 2e1a750

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/source/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@
8686
version = ".".join(
8787
et_version_docs.split("/")[-1].split("-")[0].lstrip("v").split(".")[:2]
8888
)
89+
elif et_version_docs.startswith("refs/heads/release/"):
90+
version = et_version_docs.split("/")[-1]
8991
print(f"Version: {version}")
9092
html_title = " ".join((project, version, "documentation"))
9193

0 commit comments

Comments
 (0)