fix build_release and merge_release