releasetools: migrate to new method