mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-14 20:51:21 +00:00
The GIT_INSTALL_ROOT env is required by cmder, otherwise it starts giving "Found old git at C:\Users\<name>\scoop\apps, but not using..."
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.0.windows.1",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/git-for-windows/git/releases/download/v2.13.0.windows.1/PortableGit-2.13.0-64-bit.7z.exe#/dl.7z",
|
|
"hash": "1d6008cb6fec817a302d4b59921423ba1f6db2677c6b519c20e9ca2cacc7c220"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/git-for-windows/git/releases/download/v2.13.0.windows.1/PortableGit-2.13.0-32-bit.7z.exe#/dl.7z",
|
|
"hash": "119c95b4416ca1100a4feee0d75ceaf3d41962b0038620c04a62dd787e80e5f2"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|