diff options
-rwxr-xr-x | scripts-dev/release.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts-dev/release.py b/scripts-dev/release.py index bee8761182..02a599667c 100755 --- a/scripts-dev/release.py +++ b/scripts-dev/release.py @@ -485,7 +485,7 @@ def _upload(gh_token: Optional[str]) -> None: urllib.request.urlretrieve(asset_download_url, filename=filename) if click.confirm("Upload to PyPI?", default=True): - subprocess.run("twine upload *", shell=True, cwd=tmpdir) + subprocess.run("twine upload *", shell=True, cwd=tmpdir, check=True) click.echo( f"Done! Remember to merge the tag {tag_name} into the appropriate branches" |