Skip to content

Commit f9cc9e7

Browse files
author
Fernando Álvarez
committed
ci: Exit with error if dist upload fails
1 parent 327cc7e commit f9cc9e7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎ci/release.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ def dist():
3232
'--formats=gztar',
3333
'upload'])
3434
except OSError as e:
35-
print e
35+
cleanup()
36+
sys.exit(e)
3637

3738

3839
def cleanup():

0 commit comments

Comments
 (0)