Updated release logic.