2020-07-28 12:41:14 +02:00

48 lines
2.0 KiB
JSON

{
"version": "2.28.0.windows.1",
"description": "Minimal Git for Windows (MinGit) is a reduced sized package designed to support application integration (like integrated development environments, graph visualizers, etc.) where full console support (colorization, pagniation, etc.) is not needed.",
"homepage": "https://git-for-windows.github.io/",
"license": "GPL-2.0-only",
"notes": [
"To get Git to recognise OpenSSH, you will need to run",
"",
"scoop install openssh",
"[environment]::setenvironmentvariable('GIT_SSH', (resolve-path (scoop which ssh)), 'USER')",
"",
"and then restart powershell."
],
"architecture": {
"64bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v2.28.0.windows.1/MinGit-2.28.0-64-bit.zip",
"hash": "c391cb018ae959a76ad2688b0cc7a05f6541d0b43d0ff4d4dacab923363c8dd8"
},
"32bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v2.28.0.windows.1/MinGit-2.28.0-32-bit.zip",
"hash": "df42b0c1e3fd18714d1de1c5b1b5def395d6952f9e25d23b249d52bde9ec8f85"
}
},
"bin": "cmd\\git.exe",
"post_install": "git config --global credential.helper manager",
"checkver": {
"url": "https://github.com/git-for-windows/git/releases/latest",
"regex": "v(?<version>[\\d\\w.]+)/MinGit-(?<short>[\\d.]+).*\\.zip"
},
"env_set": {
"GIT_INSTALL_ROOT": "$dir"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v$matchVersion/MinGit-$matchShort-64-bit.zip"
},
"32bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v$matchVersion/MinGit-$matchShort-32-bit.zip"
}
},
"hash": {
"url": "https://github.com/git-for-windows/git/releases/latest",
"find": "<td>$basename<\\/td>\\s*<td>([0-9a-fA-F]+)<\\/td>"
}
}
}