Skip to content

Commit

Permalink
update.py: exit with status dependent on number of failures
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Jun 2, 2020
1 parent c5da0ab commit f2ae1bf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions update.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,3 +565,9 @@ def put_cached_parameters_files_in_sites(site=args.site):
copy_build(args.site)

# To navigate locally and view versioning script for parameters working is necessary run Chrome as "chrome --allow-file-access-from-files". Otherwise it will appear empty locally and working once is on the server.

if error_count > 0:
print("%u errors during Wiki build" % (error_count,))
sys.exit(1)

sys.exit(0)

0 comments on commit f2ae1bf

Please sign in to comment.