We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9ed5866 + 2227fce commit ac43a19Copy full SHA for ac43a19
1 file changed
appveyor.yml
@@ -68,10 +68,11 @@ artifacts:
68
- path: dist\*.whl
69
70
on_success:
71
- - >
72
- IF "%APPVEYOR_REPO_TAG%" == "true"
73
- (
74
- python -m pip install twine
75
- &&
76
- python -m twine upload dist/*.whl
77
- )
+ - ps: >-
+ if ($env:APPVEYOR_REPO_TAG -eq 'true') {
+ Write-Output ("Deploying " + $env:APPVEYOR_REPO_TAG_NAME + " to PyPI...")
+ pip install --upgrade twine
+ twine upload (ls dist\*.whl)
+ } else {
+ Write-Output "Not deploying as this is not a tagged commit"
78
+ }
0 commit comments