Skip to content

Commit

Permalink
CI: attempt to fix PyPI upload
Browse files Browse the repository at this point in the history
  • Loading branch information
sbraz committed Nov 20, 2020
1 parent 12ad13e commit f9d3254
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,13 @@ after_success: |
if [[ $TRAVIS_OS_NAME == osx && $MB_PYTHON_VERSION == $PYTHON_MAIN_VERSION ]]; then
pip install wheel twine
python setup.py bdist_wheel
twine upload --skip-existing -u sbraz dist/*.{whl,gz}
twine upload --skip-existing -u sbraz dist/*.whl
elif [[ $TRAVIS_OS_NAME == linux && $TRAVIS_PYTHON_VERSION == $PYTHON_MAIN_VERSION ]]; then
# sdists generated on OSX have a problem with the accented test file
# https://github.com/sbraz/pymediainfo/issues/67
python setup.py sdist
pip install twine
twine upload --skip-existing -u sbraz dist/*.{whl,gz}
twine upload --skip-existing -u sbraz dist/*.gz
fi
fi
env:
Expand Down

0 comments on commit f9d3254

Please sign in to comment.