The script will now throw an error if it fails to upload build artifacts, rather than failing silently.