File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -92,10 +92,10 @@ jobs:
92
92
93
93
# Get github.ref for the output doc folder. By default "main"
94
94
# If matches a tag like refs/tags/v1.12.0-rc3 or
95
- # refs/tags/v1.12.0 convert to 1.12
95
+ # refs/tags/v1.12.0 convert to 1.12
96
96
GITHUB_REF=${{ github.ref }}
97
97
98
- # Convert refs/tags/v1.12.0rc3 into 1.12.
98
+ # Convert refs/tags/v1.12.0rc3 into 1.12.
99
99
# Adopted from https://github.com/pytorch/pytorch/blob/main/.github/workflows/_docs.yml#L150C11-L155C13
100
100
if [[ "${GITHUB_REF}" =~ ^refs/tags/v([0-9]+\\.[0-9]+)\\. ]]; then
101
101
TARGET_FOLDER="${BASH_REMATCH[1]}"
Original file line number Diff line number Diff line change 73
73
74
74
# Get ET_VERSION_DOCS during the build.
75
75
et_version_docs = os .environ .get ("ET_VERSION_DOCS" , None )
76
-
76
+ print ( f"et_version_docs: { et_version_docs } " )
77
77
78
78
# The code below will cut version displayed in the dropdown like this:
79
79
# By default, set to "main".
You can’t perform that action at this time.
0 commit comments