[appveyor] skip existing twine upload

This commit is contained in:
mzwiessele 2016-08-16 13:55:35 +01:00
parent a70c6c9c72
commit 1a37a06e5d

View file

@ -71,10 +71,10 @@ deploy_script:
- echo password:%pip_access% >> %USERPROFILE%\\.pypirc
- ps: >-
if ($env:APPVEYOR_REPO_BRANCH -eq 'devel') {
twine upload --exists warning -r test dist/*
twine upload --skip-existing -r test dist/*
}
elseif ($env:APPVEYOR_REPO_BRANCH -eq 'deploy') {
twine upload --exists warning dist/*
twine upload --skip-existing dist/*
}
else {
echo not deploying on other branches