Repositories/EigenverftModule/GitHubCli.json
|
{
"$schema": "./eigenverft-module-package-definition-1.2.schema.json", "schemaVersion": "1.2", "id": "GitHubCli", "display": { "default": { "name": "GitHub CLI", "publisher": "GitHub", "corporation": "GitHub, Inc.", "summary": "GitHub command-line interface" } }, "packageTargets": [ { "id": "GitHubCli-windows_amd64-stable", "channel": "stable", "platformTarget": "windows_amd64", "constraints": { "os": [ "windows" ], "cpu": [ "x64" ] }, "versionSelection": { "strategy": "latestByVersion", "allowPrerelease": false }, "artifactDefaults": { "fileNameTemplate": "gh_{version}_windows_amd64.zip", "artifactSources": [ { "kind": "packageDepot", "searchOrder": 100, "verification": { "mode": "optional" } }, { "kind": "download", "sourceId": "ghCliGitHub", "searchOrder": 900, "verification": { "mode": "required" } } ] } }, { "id": "GitHubCli-windows_arm64-stable", "channel": "stable", "platformTarget": "windows_arm64", "constraints": { "os": [ "windows" ], "cpu": [ "arm64" ] }, "versionSelection": { "strategy": "latestByVersion", "allowPrerelease": false }, "artifactDefaults": { "fileNameTemplate": "gh_{version}_windows_arm64.zip", "artifactSources": [ { "kind": "packageDepot", "searchOrder": 100, "verification": { "mode": "optional" } }, { "kind": "download", "sourceId": "ghCliGitHub", "searchOrder": 900, "verification": { "mode": "required" } } ] } } ], "versionCatalog": [ { "version": "2.91.0", "channels": [ "stable" ], "artifactsByTarget": { "GitHubCli-windows_amd64-stable": { "releaseId": "gh-cli-runtime-win-x64-stable", "contentHash": { "algorithm": "sha256", "value": "ced3e6f4bb5a9865056b594b7ad0cf42137dc92c494346f1ca705b5dbf14c88e" } }, "GitHubCli-windows_arm64-stable": { "releaseId": "gh-cli-runtime-win-arm64-stable", "contentHash": { "algorithm": "sha256", "value": "ae0333d2f9b13fc28f785ca7379514f9a1cea382cd4726abb6e6f4d2a874dd15" } } }, "releaseTag": "v2.91.0" } ], "discovery": { "files": [ "bin/gh.exe" ], "directories": [ "bin" ], "commands": [ { "name": "gh", "relativePath": "bin/gh.exe", "required": true, "exposed": true, "stateChecks": [ { "arguments": [ "--version" ], "outputPattern": "(?im)^gh version\\s+(?<value>\\d+\\.\\d+\\.\\d+)\\b", "expectedValue": "{version}" } ] } ], "apps": [], "metadataFiles": [], "signatures": [], "fileDetails": [], "registry": [] }, "stateDiscovery": { "installed": { "enableDetection": false, "searchLocations": [], "installRootRules": [] } }, "upstreamSources": { "ghCliGitHub": { "kind": "githubRelease", "repositoryOwner": "cli", "repositoryName": "cli" } }, "packageOperations": { "shared": { "ownershipPolicy": { "allowAdoptExternal": false, "upgradeAdoptedInstall": false, "requirePackageOwnership": true }, "compatibility": { "checks": [ { "kind": "osVersion", "operator": ">=", "value": "10.0" } ] } }, "assigned": { "kind": "expandArchive", "installDirectory": "gh-cli-runtime/{channel}/{version}/{platformTarget}", "pathRegistration": { "mode": "user", "source": { "kind": "shim", "use": "discovery.commands" } }, "expandedRoot": "auto", "createDirectories": [], "installedStateCheck": { "use": "discovery", "expectedVersion": "{version}", "require": { "files": true, "directories": true, "commands": true, "apps": false, "metadataFiles": false, "signatures": false, "fileDetails": false, "registry": false } }, "versionUpdatePolicy": { "whenAssigned": "trackSelectedVersion", "onSameSelectedVersion": "reuseOrRepair", "onNewSelectedVersion": "replacePackageOwnedInstall" } }, "removed": { "operation": { "kind": "deleteInstallDirectory" }, "verifyAbsent": { "use": "discovery", "require": { "files": true, "directories": false, "commands": true, "apps": false, "metadataFiles": false, "signatures": false, "fileDetails": false, "registry": false } }, "cleanup": { "inventory": true, "shims": true, "path": true, "workDirectories": true } } } } |