[TASK] add exit_on_error calls to publish script