Modify gen.py to use new tag prefix

This PR should allow the OMERO downloads page to cope with the new tag prefix `v` starting from `5.1.0-m1`

--no-rebase