Skip to content

Commit

Permalink
Use skip_existing key in travis pypi upload so that the build doesn't…
Browse files Browse the repository at this point in the history
… fail,

when the version is already present in pypi due to an earlier job in the build already uploading it.
  • Loading branch information
LincolnPuzey committed Nov 28, 2020
1 parent 02cd02c commit 3162732
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -67,6 +67,7 @@ deploy:
# No need to provide the password anymore. It has been set as an PYPI_PASSWORD environment variable
# on travis-ci.org web interface, and is picked automatically in this deploy stage for pypi.
password: $PYPI_PASSWORD
skip_existing: true
on:
tags: true
all_branches: true

0 comments on commit 3162732

Please sign in to comment.