[FIX] appveyor config. separete if-s

This commit is contained in:
Benedek Racz 2019-10-31 09:13:30 +01:00
parent 1152aaff1e
commit 3e9d3526e7

View File

@ -39,12 +39,12 @@ after_test:
- python -m setup sdist
# Upload to pypi.
# More precisely. Upload pypi the master builds, and to test-pypi any other builds.
# More precisely. Upload pypi the master builds, and to test-pypi the test builds.
# See more at https://stackoverflow.com/a/39155147/2506522
- IF %APPVEYOR_REPO_BRANCH%==master (
twine upload -r pypi dist\\wexpect*.tar.gz
)
IF %APPVEYOR_REPO_BRANCH%==test (
- IF %APPVEYOR_REPO_BRANCH%==test (
twine upload -r testpypi dist\\wexpect*.tar.gz
)