File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
packaging/windows/internal Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -50,13 +50,6 @@ IF ERRORLEVEL 1 (
50
50
exit /b 1
51
51
)
52
52
53
- REM bash -c "yes | anaconda login --username "%PYTORCH_ANACONDA_USERNAME%" --password "%PYTORCH_ANACONDA_PASSWORD%""
54
- anaconda login --username " %PYTORCH_ANACONDA_USERNAME% " --password " %PYTORCH_ANACONDA_PASSWORD% "
55
- IF ERRORLEVEL 1 (
56
- echo Anaconda client login failed
57
- exit /b 1
58
- )
59
-
60
53
set PYTORCH_FINAL_PACKAGE =
61
54
:: Upload all the packages under `PYTORCH_FINAL_PACKAGE_DIR`
62
55
FOR /F " delims=" %%i IN ('where /R %PYTORCH_FINAL_PACKAGE_DIR% *vision*.tar.bz2') DO (
@@ -78,6 +71,13 @@ if "%RETRY_TIMES%" == "" (
78
71
set /a SLEEP_TIME = %SLEEP_TIME%* 2
79
72
)
80
73
74
+ REM bash -c "yes | anaconda login --username "%PYTORCH_ANACONDA_USERNAME%" --password "%PYTORCH_ANACONDA_PASSWORD%""
75
+ anaconda login --username " %PYTORCH_ANACONDA_USERNAME% " --password " %PYTORCH_ANACONDA_PASSWORD% "
76
+ IF ERRORLEVEL 1 (
77
+ echo Anaconda client login failed
78
+ exit /b 1
79
+ )
80
+
81
81
echo Uploading %PYTORCH_FINAL_PACKAGE% to Anaconda Cloud
82
82
anaconda upload " %PYTORCH_FINAL_PACKAGE% " -u pytorch-nightly --label main --force --no-progress
83
83
You can’t perform that action at this time.
0 commit comments