From fa71d11637d6fd9cd64a6cf87ab784d97acbd2aa Mon Sep 17 00:00:00 2001 From: aouinizied Date: Wed, 21 Oct 2020 05:12:48 +0200 Subject: [PATCH] Fix arm wheels. --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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