[api] split release_package into logical parts