def pre_release(version):
    """Generates new docs, release announcements and creates a local tag."""
    create_branch(version)
    changelog(version, write_out=True)

    check_call(["git", "commit", "-a", "-m", f"Preparing release {version}"])

    print()
    print(f"{Fore.GREEN}Please push your branch to your fork and open a PR.")
def pre_release ( version ) : create_branch ( version ) changelog ( version , write_out = True ) check_call ( [ "git" , "commit" , "-a" , "-m" , f"Preparing release {version}" ] ) print ( ) print ( f"{Fore.GREEN}Please push your branch to your fork and open a PR." )
Generates new docs, release announcements and creates a local tag.