Get the project's version string *without* any test or beta build labels.

    :param version_info: The current version_info of the project.
    :return: The current version string, without any beta build string values.

def get_version_without_beta(version_info: FileVersionResult) -> str:
    """
    Get the project's version string *without* any test or beta build labels.

    :param version_info: The current version_info of the project.
    :return: The current version string, without any beta build string values.
    """

    if not version_info:
        raise TypeError("version_info cannot be 'None'!")

    if not version_info.uniform:
        raise ValueError("version_info is not uniform!")

    beta_flag = ".123."
    current_version = version_info.version_result

    # We can just split and take the first value since:
    #
    #  - If the flag *is not there*, we get the entire string back.
    #
    #    OR
    #
    #  - If the flag *is there*, we want everything before it,
    #    AKA the first value.
    #
    return current_version.split(beta_flag)[0]