Selfupdate picks tags from development branches
Problem: l3d selfupdate
collects a list of tags from the GitLab repository and takes the first one in the list as the most current which is used for self update when not a specific version is provided as a second argument. That means, when creating tags in a development or feature branch, that's then the latest created tag and will be used by self update.
The GitLab API allows to sort the tag list by name alternatively. But that doesn't help us either because the sorting is alphabetic and not release tag specific, so e.g. tag 1.9 comes before 1.17
See API documentation at https://docs.gitlab.com/ee/api/tags.html
Edited by Jürgen Haas