function ret = tsreleases(db,series)
% @TSDB/TSRELEASES - Lists releases for series
%
% >> rels = tsreleases(db,'SERIE')
%
% or
%
% >> rels = tsreleases(db,{ 'SERIE1', ... , 'SERIEN' })
%
%
%   Copyright 2005-2007 Emmanuele Somma    (Servizio Studi Banca d'Italia)
%                       emmanuele.somma@bancaditalia.it - esomma@ieee.org
%

    if isa(series,'char')
        series={ series };
    end

    ret = tsinfo(db,series,'releases');

    if isa(series,'char')
        ret =ret{1}        
    end
