Skip to content

Commit

Permalink
fix: Add credentials check
Browse files Browse the repository at this point in the history
  • Loading branch information
relekang committed Nov 22, 2018
1 parent 7d945d4 commit 0694604
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions semantic_release/pypi.py
Expand Up @@ -16,6 +16,8 @@ def upload_to_pypi(
:param dists: The dists string passed to setup.py. Default: 'bdist_wheel'
:param username: PyPI account username string
:param password: PyPI account password string
:param skip_existing: Continue uploading files if one already exists. (Only valid when
uploading to PyPI. Other implementations may not support this.)
"""
if username is None or password is None:
raise ImproperConfigurationError('Missing credentials for uploading')
Expand Down

0 comments on commit 0694604

Please sign in to comment.