Moved build and release into script section so that failures will trigger red build status