[IMP] Add better detection for dev projects.

- Just in case someone use the main branch in the -dev group for any reason we detect if it is a dev repo so it don't push to latest, just to dev.

We do so by detecting if the branch name is the same as the version and now we also check if the group name ends with -dev, because we have as general rule to name the groups with 'group-dev' for development and 'group' for the main repo
1 job for master in 13 seconds (queued for 1 second)
Status Job ID Name Coverage
passed #877965