code: def repo_version_major_minor():
      """
      Determines the version of the repo using `git describe` and returns only
      the major and minor portion
  
      Returns
      -------
      str
          The partial version of the repo in the format '{major}.{minor}'
      """
  
      full_repo_version = repo_version()
  
      match = re.match(
          r"^v?(?P<major>[0-9]+)(?:\.(?P<minor>[0-9]+))?",
          full_repo_version,
      )
  
      if match is None:
          print(
              "   [DEBUG] Could not determine repo major minor version. "
              f"Full repo version: {full_repo_version}."
          )
          return None
  
      out_version = match.group("major")
  
      if match.group("minor"):
          out_version += "." + match.group("minor")
  
      return out_version
  
file_path: cuml/cpp/scripts/gitutils.py
imports: import subprocess
  import os
  import re
label_desc: Use image node_id 6 for calling a global function with example usage: repo_version_major_minor() and returns: out_version, None