PackageModel/Definitions/GitRuntime.json

{
  "schemaVersion": "1.0",
  "id": "GitRuntime",
  "display": {
    "default": {
      "name": "Git for Windows",
      "publisher": "git-for-windows",
      "corporation": "git-for-windows",
      "summary": "Portable MinGit runtime"
    },
    "localizations": {}
  },
  "upstreamSources": {
    "gitForWindowsGitHub": {
      "kind": "githubRelease",
      "repositoryOwner": "git-for-windows",
      "repositoryName": "git"
    }
  },
  "providedTools": {
    "commands": [
      {
        "name": "git",
        "relativePath": "cmd/git.exe"
      }
    ],
    "apps": []
  },
  "releaseDefaults": {
    "compatibility": {
      "checks": [
        {
          "kind": "osVersion",
          "operator": ">=",
          "value": "10.0"
        }
      ]
    },
    "install": {
      "kind": "expandArchive",
      "installDirectory": "git-runtime/{releaseTrack}/{version}/{flavor}",
      "pathRegistration": {
        "mode": "user",
        "source": {
          "kind": "commandEntryPoint",
          "value": "git"
        }
      },
      "expandedRoot": "auto",
      "createDirectories": []
    },
    "validation": {
      "files": [
        "cmd/git.exe"
      ],
      "directories": [
        "cmd"
      ],
      "commandChecks": [
        {
          "entryPoint": "git",
          "arguments": [
            "--version"
          ],
          "outputPattern": "(?im)^git version\\s+(?<value>\\d+\\.\\d+\\.\\d+)\\b",
          "expectedValue": "{version}"
        }
      ],
      "metadataFiles": [],
      "signatures": [],
      "fileDetails": [],
      "registryChecks": []
    },
    "existingInstallDiscovery": {
      "enableDetection": false,
      "searchLocations": [],
      "installRootRules": []
    },
    "existingInstallPolicy": {
      "allowAdoptExternal": false,
      "upgradeAdoptedInstall": false,
      "requirePackageModelOwnership": true
    }
  },
  "releases": [
    {
      "id": "git-runtime-win-x64-stable",
      "version": "2.54.0",
      "releaseTag": "v2.54.0.windows.1",
      "releaseTrack": "stable",
      "flavor": "64-bit",
      "constraints": {
        "os": [
          "windows"
        ],
        "cpu": [
          "x64"
        ]
      },
      "packageFile": {
        "fileName": "MinGit-2.54.0-64-bit.zip",
        "format": "zip",
        "portable": true,
        "autoUpdateSupported": false,
        "integrity": {
          "algorithm": "sha256",
          "sha256": "04f937e1f0918b17b9be6f2294cb2bb66e96e1d9832d1c298e2de088a1d0e668"
        }
      },
      "acquisitionCandidates": [
        {
          "kind": "packageDepot",
          "priority": 250,
          "verification": {
            "mode": "optional"
          }
        },
        {
          "kind": "download",
          "sourceId": "gitForWindowsGitHub",
          "priority": 200,
          "verification": {
            "mode": "required"
          }
        }
      ]
    },
    {
      "id": "git-runtime-win-arm64-stable",
      "version": "2.54.0",
      "releaseTag": "v2.54.0.windows.1",
      "releaseTrack": "stable",
      "flavor": "arm64",
      "constraints": {
        "os": [
          "windows"
        ],
        "cpu": [
          "arm64"
        ]
      },
      "packageFile": {
        "fileName": "MinGit-2.54.0-arm64.zip",
        "format": "zip",
        "portable": true,
        "autoUpdateSupported": false,
        "integrity": {
          "algorithm": "sha256",
          "sha256": "68f6bdda5b58f4e40f431c0da48b05ba5596445314d5e491e7b4aebb1ec2e985"
        }
      },
      "acquisitionCandidates": [
        {
          "kind": "packageDepot",
          "priority": 250,
          "verification": {
            "mode": "optional"
          }
        },
        {
          "kind": "download",
          "sourceId": "gitForWindowsGitHub",
          "priority": 200,
          "verification": {
            "mode": "required"
          }
        }
      ]
    }
  ]
}