code: def tag_release_version(
      config: Config, system: System
  ) -> ActionReturn:
      try:
          system.run(
              f"git tag -a {config.version} -m 'Release {config.version}'"
          )
          return PASSED(f"Tagged release version {config.version!r}")
      except RuntimeError as e:
          return FAILED(
              f"Could NOT tag release version {config.version!r}",
              details=e.args,
          )
  
file_path: bokeh/release/git.py
imports: from __future__ import annotations
  from .action import FAILED, PASSED, ActionReturn
  from .config import Config
  from .system import System
label_desc: Use image node_id 8 for calling a global function with example usage: tag_release_version(config, system) and returns: PASSED, FAILED