mirror of
https://github.com/matrix-org/synapse.git
synced 2026-05-12 16:06:27 +02:00
Bail out of the release if twine fails
This commit is contained in:
parent
7f94431409
commit
eb810b6f38
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user