@public<EOL>def git_tag2eups_tag(git_tag):
eups_tag = git_tag<EOL>if re.match(r'<STR_LIT>', eups_tag):<EOL><INDENT>eups_tag = "<STR_LIT>".format(eups_tag=eups_tag)<EOL><DEDENT>eups_tag = eups_tag.translate(str.maketrans('<STR_LIT>', '<STR_LIT>'))<EOL>return eups_tag<EOL>
Convert git tag to an acceptable eups tag format

    I.e., eups no likey semantic versioning markup, wants underscores

    Parameters
    ----------
    git_tag: str
        literal git tag string

    Returns
    -------
    eups_tag: string
        A string suitable for use as an eups tag name