mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-13 04:01:19 +00:00
49 lines
1.8 KiB
JSON
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.1.windows.1",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/git-for-windows/git/releases/download/v2.14.1.windows.1/PortableGit-2.14.1-64-bit.7z.exe#/dl.7z",
|
|
"hash": "3c3270a9df5f3db1f7637d86b94fb54a96e9145ba43c98a3e993cdffb1a1842e"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/git-for-windows/git/releases/download/v2.14.1.windows.1/PortableGit-2.14.1-32-bit.7z.exe#/dl.7z",
|
|
"hash": "df3f9b6c2dd2b12e5cb7035b9ca48d13b973d054a35b0939953aa6e7a00a0659"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|