def tag_version_filter(x):
    """
    >>> tag_version_filter('random') is None
    True
    >>> tag_version_filter('v1.2.3')
    (1, 2, 3)
    >>> tag_version_filter('v0.0.0')
    (0, 0, 0)
    >>> tag_version_filter('v0.10.123')
    (0, 10, 123)
    """
    if not x.startswith('v'):
        return
    v = []
    for b in x[1:].split('.'):
        try:
            v.append(int(b))
        except ValueError:
            v.append(b)
    return tuple(v)