2019-11-06 20:00:50 +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.2",
"architecture": {
"64bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v2.24.0.windows.2/PortableGit-2.24.0.2-64-bit.7z.exe#/dl.7z",
"hash": "353d0e1566d8897cb7afe2f6f9088bac17182ca43416feadec1c16f5c3bb9e0f"
},
"32bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v2.24.0.windows.2/PortableGit-2.24.0.2-32-bit.7z.exe#/dl.7z",
"hash": "6ac4761e2711cb584f2df1fbc27b677a03c745cfef0bae55604bc27a5c26d68b"
}
},
"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>"
}
}
}