2019-11-04 21:00:23 +00:00

63 lines
2.4 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/",
"description": "A free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.",
"license": "GPL-2.0-only",
"version": "2.24.0.windows.1",
"architecture": {
"64bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v2.24.0.windows.1/PortableGit-2.24.0-64-bit.7z.exe#/dl.7z",
"hash": "da1480896cf5a18b99b7bcea4b7e7e0fc9c9a1a521fe4c5df03db850381bb5e7"
},
"32bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v2.24.0.windows.1/PortableGit-2.24.0-32-bit.7z.exe#/dl.7z",
"hash": "e71f2852f6a8e8c4e802c055ba95510572a338fe7914e0a40c4f0564c80b2c69"
}
},
"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>"
}
}
}