2019-11-04 21:00:23 +00:00

48 lines
2.0 KiB
JSON

{
"homepage": "https://git-for-windows.github.io/",
"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.",
"license": "GPL-2.0-only",
"version": "2.24.0.windows.1",
"architecture": {
"64bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v2.24.0.windows.1/MinGit-2.24.0-64-bit.zip",
"hash": "5e500b0ad7575c0a061f834bfae89ab642c6670113da457f8e1d7634ce9c4ed7"
},
"32bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v2.24.0.windows.1/MinGit-2.24.0-32-bit.zip",
"hash": "852c75e54f896b1d1fc2c42243c23a5c7bb4da7b1390d5ee1e4ef22026b86aa8"
}
},
"bin": "cmd\\git.exe",
"post_install": "git config --global credential.helper manager",
"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."
],
"checkver": {
"url": "https://github.com/git-for-windows/git/releases/latest",
"re": "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>"
}
}
}