added release_type as a param