tasks/release.py
def _confirm_independent_dependency_repo_version(repo, latest_version, highest_release_json_version):
    """
    Checks if the two versions of a repository we found (from release.json and from the available repo tags)
    are different. If they are, asks the user for confirmation before updating the version.
    """

    if latest_version == highest_release_json_version:
        return highest_release_json_version

    print(color_message(DIFFERENT_TAGS_TEMPLATE.format(repo, latest_version, highest_release_json_version), "orange"))
    if yes_no_question(f"Do you want to update {repo} to {latest_version}?", "orange", False):
        return latest_version

    return highest_release_json_version

    Checks if the two versions of a repository we found (from release.json and from the available repo tags)
    are different. If they are, asks the user for confirmation before updating the version.
    
Checks if the two versions of a repository we found (from release.json and from the available repo tags)
are different. If they are, asks the user for confirmation before updating the version.
Checks if the two versions of a repository we found ( from release . json and from the available repo tags ) are different . If they are asks the user for confirmation before updating the version .
def _confirm_independent_dependency_repo_version(repo, latest_version, highest_release_json_version):
    if latest_version == highest_release_json_version:
        return highest_release_json_version
    print(color_message(DIFFERENT_TAGS_TEMPLATE.format(repo, latest_version, highest_release_json_version), "orange"))
    if yes_no_question(f"Do you want to update {repo} to {latest_version}?", "orange", False):
        return latest_version
    return highest_release_json_version
def _confirm_independent_dependency_repo_version ( repo , latest_version , highest_release_json_version ) : if latest_version == highest_release_json_version : return highest_release_json_version print ( color_message ( DIFFERENT_TAGS_TEMPLATE . format ( repo , latest_version , highest_release_json_version ) , "orange" ) ) if yes_no_question ( f"Do you want to update {repo} to {latest_version}?", orange", alse) : return latest_version return highest_release_json_version
Checks if the two versions of a repository we found (from release.json and from the available repo tags)
are different.
Checks if the two versions of a repository we found ( from release . json and from the available repo tags ) are different .
"""
    Checks if the two versions of a repository we found (from release.json and from the available repo tags)
    are different. If they are, asks the user for confirmation before updating the version.
    """
repo
latest_version
highest_release_json_version