2017-08-07 12:01:09 +00:00

49 lines
1.8 KiB
JSON

{
"##": "Maintainers: when updating this manifest to a new version, you might like to also update git-with-openssh.json",
"homepage": "https://git-for-windows.github.io/",
"license": "GPL2",
"version": "2.14.0.windows.2",
"architecture": {
"64bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v2.14.0.windows.2/PortableGit-2.14.0.2-64-bit.7z.exe#/dl.7z",
"hash": "5236c21de3cdf52b538322de0b0444f6cd49a5bae6006ea89f0683598cbda7ac"
},
"32bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v2.14.0.windows.2/PortableGit-2.14.0.2-32-bit.7z.exe#/dl.7z",
"hash": "77705be651d7d1f3e2c536677fc7a8b88c6f3bc16005a1c7da6346e8d80cc005"
}
},
"bin": [
"cmd\\git.exe",
"cmd\\gitk.exe",
"cmd\\git-gui.exe",
"git-bash.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.]+)/PortableGit-(?<short>[\\d.]+).*\\.exe"
},
"env_set": {
"GIT_INSTALL_ROOT": "$dir"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v$matchVersion/PortableGit-$matchShort-64-bit.7z.exe#/dl.7z"
},
"32bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v$matchVersion/PortableGit-$matchShort-32-bit.7z.exe#/dl.7z"
}
}
}
}