tasks/release.py
def update_release_json(github_token, new_version: Version, max_version: Version):
    """
    Updates the release entries in release.json to prepare the next RC or final build.
    """
    release_json = _load_release_json()

    release_entry = release_entry_for(new_version.major)
    print(f"Updating {release_entry} for {new_version}")

    # Update release.json object with the entry for the new version
    release_json = _update_release_json(release_json, release_entry, new_version, max_version, github_token)

    _save_release_json(release_json)

    Updates the release entries in release.json to prepare the next RC or final build.
    
Updates the release entries in release.json to prepare the next RC or final build.
Updates the release entries in release . json to prepare the next RC or final build .
def update_release_json(github_token, new_version: Version, max_version: Version):
    release_json = _load_release_json()
    release_entry = release_entry_for(new_version.major)
    print(f"Updating {release_entry} for {new_version}")
    release_json = _update_release_json(release_json, release_entry, new_version, max_version, github_token)
    _save_release_json(release_json)
def update_release_json ( github_token , new_version : Version , max_version : Version ) : release_json = _load_release_json ( ) release_entry = release_entry_for ( new_version . major ) print ( f"Updating {release_entry} for {new_version}" ) release_json = _update_release_json ( release_json , release_entry , new_version , max_version , github_token ) _save_release_json ( release_json )
Updates the release entries in release.json to prepare the next RC or final build.
Updates the release entries in release . json to prepare the next RC or final build .
"""
    Updates the release entries in release.json to prepare the next RC or final build.
    """ # Update release.json object with the entry for the new version
github_token
new_version
Version
max_version
Version