code: def main(release_name: str):
      release_name = release_name.replace("-create-release", "")
  
      # Update pyproject.toml
      pyproject_path = Path("pyproject.toml")
      pyproject_text = pyproject_path.read_text()
      pyproject_text = re.sub(
          r'version = ".*"',
          f'version = "{release_name}"',
          pyproject_text,
          count=1,
      )
      pyproject_path.write_text(pyproject_text)
  
      # Update __init__.py
      init_path = Path("elegy", "__init__.py")
      init_text = init_path.read_text()
      init_text = re.sub(
          r'__version__ = "(.*?)"',
          f'__version__ = "{release_name}"',
          init_text,
          count=1,
      )
      init_path.write_text(init_text)
  
label_desc: Use image node_id 1 for calling a global function with example usage: main(release_name) without return types