deployment script keeps a configurable maximum number of releases