continuous-delivery/sanity-check-test-pypi.bat
raw| 1 | FOR /F "delims=" %%A in ('git describe --tags') do ( set TAG_VERSION=%%A ) |
| 2 | set CURRENT_VERSION=%TAG_VERSION:v=% |
| 3 | |
| 4 | "C:\Program Files\Python38\python.exe" continuous-delivery\pip-install-with-retry.py --no-cache-dir -i https://testpypi.python.org/simple --user awscrt==%CURRENT_VERSION% || goto error |
| 5 | "C:\Program Files\Python38\python.exe" continuous-delivery\test-pip-install.py || goto error |
| 6 | |
| 7 | goto :EOF |
| 8 | |
| 9 | :error |
| 10 | echo Failed with error #%errorlevel%. |
| 11 | exit /b %errorlevel% |
| 12 |