Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit 39987bd

Browse files
committed
Use pip package to upload only
1 parent f30be41 commit 39987bd

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

windows/internal/upload.bat

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,17 @@ IF ERRORLEVEL 1 (
4343
set "ORIG_PATH=%PATH%"
4444
set "PATH=%CONDA_HOME%;%CONDA_HOME%\scripts;%CONDA_HOME%\Library\bin;%PATH%"
4545

46-
REM conda install -y anaconda-client
47-
pip install git+https://github.com/mjscosta/anaconda-client.git@log_more_meaningfull_errors
46+
conda install -y anaconda-client
47+
48+
bash -c "yes | anaconda login --username "%PYTORCH_ANACONDA_USERNAME%" --password "%PYTORCH_ANACONDA_PASSWORD%""
4849
IF ERRORLEVEL 1 (
49-
echo Anaconda client installation failed
50+
echo Anaconda client login failed
5051
exit /b 1
5152
)
5253

53-
bash -c "yes | anaconda login --username "%PYTORCH_ANACONDA_USERNAME%" --password "%PYTORCH_ANACONDA_PASSWORD%""
54+
pip install git+https://github.com/mjscosta/anaconda-client.git@log_more_meaningfull_errors
5455
IF ERRORLEVEL 1 (
55-
echo Anaconda client login failed
56+
echo Anaconda client installation failed
5657
exit /b 1
5758
)
5859

0 commit comments

Comments
 (0)