As seemant experienced in FL-10195, github.py's tag_gen() can be overly grabby, using a regex of "([0-9.]+)" to try to grab a version from a tag, and this is not anchored at all to the start of the tag string, so "test_20201010" will extract a version of "20201010".
It may be best to switch to a default regex of "^v?([0-9.]+)$". This anchors the regex, and looks for a version-y string that has an optional "v" prefix.
This seems to be the standard "version tag" that upstreams are using, and would avoid accidentally grabbing numbers we probably aren't interested in.
invakid404 please take a look and let me know your perspective.
- relates to
-
FL-10227 metatools: github: filter tags/releases by date
- Work Queue