mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-14 20:51:21 +00:00
49 lines
1.8 KiB
JSON
49 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.13.1.windows.2",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/git-for-windows/git/releases/download/v2.13.1.windows.2/PortableGit-2.13.1.2-64-bit.7z.exe#/dl.7z",
|
|
"hash": "2c98f6cab688d585d68896c8954e4849c70b33a34f8b5b6009d2ba56ddd95c43"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/git-for-windows/git/releases/download/v2.13.1.windows.2/PortableGit-2.13.1.2-32-bit.7z.exe#/dl.7z",
|
|
"hash": "7eeccb6aa3aa294a05538a913f465b9ddeb36160126caf709b378bb78630216b"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|