fix parsing current version
do not try to generate old releases files if none are present