def clean_product_version(version: str) -> str:
    """
    Replace / alias "latest" with "release"

    :type version: str
    :rtype: str
    :param version: The current version being used
    :return: The cleaned/replaced version
    """
    if version == 'latest':
        version = 'release'
    return version