Skip to content

Commit c14efcc

Browse files
committed
Changes for deployment
1 parent 4ec7ddc commit c14efcc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

appveyor.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,5 +337,6 @@ artifacts:
337337
deploy_script:
338338
- ps: If ($env:APPVEYOR_REPO_TAG -eq "true" -and $isWindows -and $env:BUILD_ENVIRONMENT -eq "python-tox") {
339339
Invoke-Expression "${env:PYTHON} -m twine upload dist/*.whl --username __token__ --password ${env:PYPI_TOKEN} --skip-existing" }
340-
- sh: if test ${APPVEYOR_REPO_TAG} = "true" && test ${BUILD_ENVIRONMENT} = "python-tox"; then twine upload dist/*.whl --username __token__ --password ${PYPI_TOKEN} --skip-existing; fi
340+
- sh: if test ${APPVEYOR_REPO_TAG} = "true" && test `uname -s` = "Darwin" && test ${BUILD_ENVIRONMENT} = "python-tox"; then twine upload dist/*.whl --username __token__ --password ${PYPI_TOKEN} --skip-existing; fi
341+
- sh: if test ${APPVEYOR_REPO_TAG} = "true" && test `uname -s` = "Linux" && test ${BUILD_ENVIRONMENT} = "python-tox"; then python3 -m twine upload dist/*.whl --username __token__ --password ${env:PYPI_TOKEN} --skip-existing; fi
341342

0 commit comments

Comments
 (0)