diff --git a/.travis.yml b/.travis.yml index eac2686..c8fafd6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -125,4 +125,7 @@ script: after_success: - python3 -m codecov - - python3 -m twine upload --skip-existing dist/*.whl \ No newline at end of file + - | + if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ ! -z "$TRAVIS_TAG" ]; then + python3 -m twine upload --skip-existing dist/*.whl + fi \ No newline at end of file