提交 bad5cb13 编写于 作者: O Olli-Pekka Heinisuo

fix sdist upload

上级 52bc6985
......@@ -760,12 +760,12 @@ after_success: |
fi
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
pip install --user twine
pip install --user --upgrade six
if [[ $SDIST == 1 ]]; then
pip install twine
twine upload -u ${USER} -p ${PASS} --skip-existing ${TRAVIS_BUILD_DIR}/dist/opencv*
else
pip install --user twine
pip install --user --upgrade six
twine upload -u ${USER} -p ${PASS} --skip-existing ${TRAVIS_BUILD_DIR}/wheelhouse/opencv*
fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册