Skip to content

Commit

Permalink
Fix variable name (pytorch#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
svekars authored Apr 23, 2024
1 parent efd487c commit ae1d1f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/doc_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ jobs:
# Convert refs/tags/v1.12.0rc3 into 1.12.
# Adopted from https://github.com/pytorch/pytorch/blob/main/.github/workflows/_docs.yml#L150C11-L155C13
if [[ "${GITHUB_REF}" =~ ^refs/tags/v([0-9]+\.[0-9]+)\.* ]]; then
target="${BASH_REMATCH[1]}"
TARGET_FOLDER="${BASH_REMATCH[1]}"
else
target="main"
TARGET_FOLDER="main"
fi
echo "Target Folder: ${TARGET_FOLDER}"
Expand Down

0 comments on commit ae1d1f4

Please sign in to comment.