subset-releases function

Subset a releases object