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 password = %pip_access% >> %USERPROFILE%\\.pypirc
- ps: >-
if ($env:APPVEYOR_REPO_BRANCH -eq 'devel') {
twine upload --skip-existing -r test dist/*
}
elseif ($env:APPVEYOR_REPO_BRANCH -eq 'deploy') {
if ($env:APPVEYOR_REPO_BRANCH -eq 'deploy') {
twine upload --skip-existing dist/*
}
else {
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:
# - provider: GitHub
# release: GPy-v$(gpy_version)