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

fix sdist upload

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