ScoopInstaller_Main/mingit.json
2018-12-15 14:01:49 +00:00

47 lines
1.8 KiB
JSON

{
"homepage": "https://git-for-windows.github.io/",
"license": "GPL-2.0",
"version": "2.20.1.windows.1",
"architecture": {
"64bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v2.20.1.windows.1/MinGit-2.20.1-64-bit.zip",
"hash": "02328f37eeefe8d8f5396553ac8f91c98d09e533d49d93c617a4643915a76552"
},
"32bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v2.20.1.windows.1/MinGit-2.20.1-32-bit.zip",
"hash": "a51b66795c45e3cd1a6041fa6bcc606175870bb2c777f4cfc3dc12c7973ae634"
}
},
"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>"
}
}
}