From 1d959899d64c18b133892c0a4f3e78747391d010 Mon Sep 17 00:00:00 2001 From: Erjia Guan Date: Fri, 17 Jun 2022 18:29:11 -0700 Subject: [PATCH] Fix target folder for official release (#521) Summary: The target folder for the official release is corrected. Pull Request resolved: https://github.com/pytorch/data/pull/521 Reviewed By: NivekT Differential Revision: D37250367 Pulled By: ejguan fbshipit-source-id: 582ec710b46f5f47cab4042bcb69f79ae7c44a85 --- .github/workflows/_build_test_upload.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/_build_test_upload.yml b/.github/workflows/_build_test_upload.yml index 8b3b37d95..759eacd4a 100644 --- a/.github/workflows/_build_test_upload.yml +++ b/.github/workflows/_build_test_upload.yml @@ -409,6 +409,8 @@ jobs: TARGET_FOLDER=${TARGET_FOLDER:8} elif [[ $TARGET_FOLDER == tags/* ]]; then TARGET_FOLDER=${TARGET_FOLDER:5} + elif [[ $TARGET_FOLDER == v* ]] && [[ ${{ inputs.pre_dev_release }} == false ]]; then + TARGET_FOLDER=${TARGET_FOLDER:1} fi echo "::set-output name=value::$TARGET_FOLDER" id: target_folder