We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e381f1 commit 288d03bCopy full SHA for 288d03b
.github/workflows/doc-build.yml
@@ -97,7 +97,7 @@ jobs:
97
98
# Convert refs/tags/v1.12.0rc3 into 1.12.
99
# Adopted from https://github.com/pytorch/pytorch/blob/main/.github/workflows/_docs.yml#L150C11-L155C13
100
- if [[ "${GITHUB_REF}" =~ ^refs/tags/v([0-9]+\.[0-9]+)\.* ]]; then
+ if [[ "${GITHUB_REF}" =~ ^refs/tags/v([0-9]+\\.[0-9]+)\\. ]]; then
101
TARGET_FOLDER="${BASH_REMATCH[1]}"
102
else
103
TARGET_FOLDER="main"
0 commit comments