fix: appveyor not uploading to testpypi for now

This commit is contained in:
mzwiessele 2017-06-19 13:34:27 +01:00
parent e3094f2ede
commit ad02c948fa

View file

@ -72,16 +72,17 @@ deploy_script:
- echo username = maxz >> %USERPROFILE%\\.pypirc - echo username = maxz >> %USERPROFILE%\\.pypirc
- echo password = %pip_access% >> %USERPROFILE%\\.pypirc - echo password = %pip_access% >> %USERPROFILE%\\.pypirc
- ps: >- - ps: >-
if ($env:APPVEYOR_REPO_BRANCH -eq 'devel') { if ($env:APPVEYOR_REPO_BRANCH -eq 'deploy') {
twine upload --skip-existing -r test dist/*
}
elseif ($env:APPVEYOR_REPO_BRANCH -eq 'deploy') {
twine upload --skip-existing dist/* twine upload --skip-existing dist/*
} }
else { else {
echo not deploying on other branches echo not deploying on other branches
} }
# if ($env:APPVEYOR_REPO_BRANCH -eq 'devel') {
# twine upload --skip-existing -r test dist/*
# } # This is for testing the upload to testpypi, it causes a fail, so we will undo it here
# deploy: # deploy:
# - provider: GitHub # - provider: GitHub
# release: GPy-v$(gpy_version) # release: GPy-v$(gpy_version)