clean build_ref for build logs from build_and_publish