From bad5cb13d9f992bbce540b3bef9b33c512201be7 Mon Sep 17 00:00:00 2001 From: Olli-Pekka Heinisuo Date: Sun, 9 Aug 2020 16:28:22 +0300 Subject: [PATCH] fix sdist upload --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 19072fc..6355aaa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 -- GitLab