Move the logic of Release command to a separate service.