ScoopInstaller_Main/mingit-busybox.json
2018-11-21 22:00:28 +00:00

49 lines
1.8 KiB
JSON

{
"homepage": "https://git-for-windows.github.io/",
"license": "GPL-2.0",
"version": "2.19.2.windows.1",
"architecture": {
"64bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v2.19.2.windows.1/MinGit-2.19.2-busybox-64-bit.zip",
"hash": "25ee4fe5bafd533743bfe743ab2ab4a61ce4d10b61df30cd87b742acc53047e8"
},
"32bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v2.19.2.windows.1/MinGit-2.19.2-busybox-32-bit.zip",
"hash": "161deb5f6b80e35fdac7013394f799acf09667d0f9b781080a51d0a47c4a8f58"
}
},
"bin": [
"cmd\\git.exe",
"mingw64\\bin\\busybox.exe"
],
"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-busybox-64-bit.zip"
},
"32bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v$matchVersion/MinGit-$matchShort-busybox-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>"
}
}
}