2017-04-06 18:38:06 +02:00

46 lines
1.8 KiB
JSON

{
"_comment": "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.12.2.windows.2",
"architecture": {
"64bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v2.12.2.windows.2/PortableGit-2.12.2.2-64-bit.7z.exe#/dl.7z",
"hash": "4c0daba65feca2263923e3eb3f0a29b892d074712feb28a4570640d2d7f98694"
},
"32bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v2.12.2.windows.2/PortableGit-2.12.2.2-32-bit.7z.exe#/dl.7z",
"hash": "b9c8280a3ee7f305ebc1c4e6e1c322e4d706807b837feb23a5b1a9f0ea0fdcb5"
}
},
"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"
},
"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"
}
}
}
}