ScoopInstaller_Main/bucket/mingit-busybox.json
2019-06-08 08:00:40 +00:00

49 lines
1.8 KiB
JSON

{
"homepage": "https://git-for-windows.github.io/",
"license": "GPL-2.0",
"version": "2.22.0.windows.1",
"architecture": {
"64bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v2.22.0.windows.1/MinGit-2.22.0-busybox-64-bit.zip",
"hash": "48213aaba43be9b27d45affadcad98a65d06490987500b59e8310ebaed729327"
},
"32bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v2.22.0.windows.1/MinGit-2.22.0-busybox-32-bit.zip",
"hash": "a5a4634a34cafaff3f7d9340c38d18f2044191a83c2da44fb3ff4db825ff4acd"
}
},
"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>"
}
}
}