Improve release process for legacy build