Fix release task for new build.