Apparently there is a bug which stops the script to run more than 30 releases. It might be a pagination thing coming from the APIs. Needs further investigation.