2018-02-07 21:01:12 +00:00

58 lines
2.0 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.16.1.windows.4",
"architecture": {
"64bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v2.16.1.windows.4/PortableGit-2.16.1.4-64-bit.7z.exe#/dl.7z",
"hash": "a2191f676d77f8b8ba88501b8d373dc5418845c52dca86313ec449881af14cbd"
},
"32bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v2.16.1.windows.4/PortableGit-2.16.1.4-32-bit.7z.exe#/dl.7z",
"hash": "5d3e89163cb8b88484d906f8ba53604279e3d7b8c170e39d89116aa5c7274f26"
}
},
"bin": [
"cmd\\git.exe",
"cmd\\gitk.exe",
"cmd\\git-gui.exe",
"usr\\bin\\tig.exe",
"git-bash.exe"
],
"shortcuts": [
[
"git-bash.exe",
"Git Bash",
"--cd-to-home",
"usr\\share\\git\\git-for-windows.ico"
]
],
"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"
}
}
}
}