mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-07 09:11:18 +00:00
62 lines
2.3 KiB
JSON
62 lines
2.3 KiB
JSON
{
|
|
"##": "Maintainers: when updating this manifest to a new version, you might like to also update git-with-openssh.json and mingit.json",
|
|
"homepage": "https://git-for-windows.github.io/",
|
|
"license": "GPL-2.0",
|
|
"version": "2.20.1.windows.1",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/git-for-windows/git/releases/download/v2.20.1.windows.1/PortableGit-2.20.1-64-bit.7z.exe#/dl.7z",
|
|
"hash": "4c0fc0c77d577f8dbb3d7711283458ba1d0ce1781cfe0d49c940abbcdf18faa0"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/git-for-windows/git/releases/download/v2.20.1.windows.1/PortableGit-2.20.1-32-bit.7z.exe#/dl.7z",
|
|
"hash": "64e9b5cfb9b6381f9791225287d80a3705341ca93e7483af9ded54bfff731dbe"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "https://github.com/git-for-windows/git/releases/latest",
|
|
"find": "<td>$basename<\\/td>\\s*<td>([0-9a-fA-F]+)<\\/td>"
|
|
}
|
|
}
|
|
}
|