code: def bump_release_from_dev(current_version):
      # Assume this is a dev version
      parts = current_version.split(".")
      if len(parts) != 4:
          version_problem(current_version)
      major, minor, patch, _ = parts
  
      new_version = f"{major}.{minor}.{patch}"
      bump_args = []
      if args.debug:
          bump_args += ["--allow-dirty", "--dry-run", "--verbose"]
      bump_args += ["--new-version", new_version, "patch"]
      bumpversion_main(bump_args)
  
file_path: wandb/tools/bumpversion-tool.py
imports: import argparse
  import configparser
  import sys
  from bumpversion.cli import main
label_desc: Use image node_id 3 for calling a global function with example usage: bump_release_from_dev(current_version) without return types