code: def post_release(new_version: str):
      current_version = Version(get_current_py_version())
      msg = (
          "It appears you ran this command on a release branch because the current version "
          f"({current_version}) is not a dev version. Please re-run this command on the master "
          "branch."
      )
      assert current_version.is_devrelease, msg
      new_version = Version(new_version)
      # Increment the patch version and append ".dev0"
      new_py_version = f"{new_version.major}.{new_version.minor}.{new_version.micro + 1}.dev0"
      update_versions(new_py_version=new_py_version)
  
file_path: mlflow/dev/update_mlflow_versions.py
imports: import re
  from pathlib import Path
  from typing import List
  import click
  from packaging.version import Version
label_desc: Use image node_id 8 for calling a global function with example usage: post_release(new_version) without return types