Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
d7dce103
Unverified
Commit
d7dce103
authored
Sep 24, 2019
by
peterjc123
Committed by
GitHub
Sep 24, 2019
Browse files
Retry `anaconda login` for Windows builds (#1366)
parent
02a8c0ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
packaging/windows/internal/upload.bat
packaging/windows/internal/upload.bat
+7
-7
No files found.
packaging/windows/internal/upload.bat
View file @
d7dce103
...
...
@@ -50,13 +50,6 @@ IF ERRORLEVEL 1 (
exit /b 1
)
REM bash -c "yes | anaconda login --username "
%PYTORCH_ANACONDA_USERNAME%
" --password "
%PYTORCH_ANACONDA_PASSWORD%
""
anaconda login --username "
%PYTORCH_ANACONDA_USERNAME%
" --password "
%PYTORCH_ANACONDA_PASSWORD%
"
IF ERRORLEVEL 1 (
echo Anaconda client login failed
exit /b 1
)
set PYTORCH_FINAL_PACKAGE=
:: Upload all the packages under `PYTORCH_FINAL_PACKAGE_DIR`
FOR /F "delims="
%%i
IN ('
where
/R
%PYTORCH_FINAL_PACKAGE_DIR%
*
vision
*
.tar.bz2
') DO (
...
...
@@ -78,6 +71,13 @@ if "%RETRY_TIMES%" == "" (
set /a SLEEP_TIME=
%SLEEP_TIME%
*2
)
REM bash -c "yes | anaconda login --username "
%PYTORCH_ANACONDA_USERNAME%
" --password "
%PYTORCH_ANACONDA_PASSWORD%
""
anaconda login --username "
%PYTORCH_ANACONDA_USERNAME%
" --password "
%PYTORCH_ANACONDA_PASSWORD%
"
IF ERRORLEVEL 1 (
echo Anaconda client login failed
exit /b 1
)
echo Uploading
%PYTORCH_FINAL_PACKAGE%
to Anaconda Cloud
anaconda upload "
%PYTORCH_FINAL_PACKAGE%
" -u pytorch-nightly --label main --force --no-progress
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment