Skip to content

Commit c2d177e

Browse files
committed
fix sdist upload
1 parent 85bb4a3 commit c2d177e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ after_success: |
760760
pip install --user --upgrade six
761761
762762
if [[ $SDIST == 1 ]]; then
763-
twine upload -u ${USER} -p ${PASS} --skip-existing ${TRAVIS_BUILD_DIR}/dist
763+
twine upload -u ${USER} -p ${PASS} --skip-existing ${TRAVIS_BUILD_DIR}/dist/opencv*
764764
else
765765
twine upload -u ${USER} -p ${PASS} --skip-existing ${TRAVIS_BUILD_DIR}/wheelhouse/opencv*
766766
fi
@@ -775,7 +775,7 @@ after_success: |
775775
/usr/bin/python -m pip install --user -U -I twine
776776
777777
if [[ $SDIST == 1 ]]; then
778-
/usr/bin/python -m upload -u ${USER} -p ${PASS} --skip-existing ${TRAVIS_BUILD_DIR}/dist
778+
/usr/bin/python -m upload -u ${USER} -p ${PASS} --skip-existing ${TRAVIS_BUILD_DIR}/dist/opencv*
779779
else
780780
/usr/bin/python -m upload -u ${USER} -p ${PASS} --skip-existing ${TRAVIS_BUILD_DIR}/wheelhouse/opencv*
781781
fi

0 commit comments

Comments
 (0)