parameters: (args: argparse.Namespace)
docstring: Update the version on the vcpkg.json manifest.
docstring_summary: Update the version on the vcpkg.json manifest.
docstring_tokens: Update the version on the vcpkg . json manifest .
function: def update_vcpkg_manifest(args: argparse.Namespace) -> None:
      """Update the version on the vcpkg.json manifest."""
      with open("vcpkg.json", "r", encoding="utf-8") as f:
          vcpkg_manifest = json.load(f)
      vcpkg_manifest["version-semver"] = args.tag
  
      if not args.dry_run:
          with open("vcpkg.json", "w", encoding="utf-8") as f:
              json.dump(vcpkg_manifest, f, indent=2)
function_tokens: def update_vcpkg_manifest ( args : argparse . Namespace ) -> None : with open ( "vcpkg.json" , "r" , encoding = "utf-8" ) as f : vcpkg_manifest = json . load ( f ) vcpkg_manifest [ "version-semver" ] = args . tag if not args . dry_run : with open ( "vcpkg.json" , "w" , encoding = "utf-8" ) as f : json . dump ( vcpkg_manifest , f , indent = 2 )