Skip to content

Commit

Permalink
prepare-release.py: exit if webpack build fails!
Browse files Browse the repository at this point in the history
Ping #18
  • Loading branch information
quentin-st committed May 13, 2018
1 parent 5687024 commit a263d57
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions prepare-release.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ def do_release():
for line in p.stdout.readlines():
print(line)
retval = p.wait()

if retval > 0:
print('Build error!')
sys.exit(1)

print('Done.')

# Create output dir if necessary
Expand Down

0 comments on commit a263d57

Please sign in to comment.