ScoopInstaller_Main/bucket/git-with-openssh.json

65 lines
2.1 KiB
JSON

{
"version": "2.31.1.windows.1",
"description": "Distributed version control system",
"homepage": "https://gitforwindows.org",
"license": "GPL-2.0-only",
"architecture": {
"64bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v2.31.1.windows.1/PortableGit-2.31.1-64-bit.7z.exe#/dl.7z",
"hash": "fce2161a8891c4deefdb8d215ab76498c245072f269843ef1a489c4312baef52"
},
"32bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v2.31.1.windows.1/PortableGit-2.31.1-32-bit.7z.exe#/dl.7z",
"hash": "d6d48e16e3f0ecbc0a45d410ad3ebae15e5618202855ebe72cd9757e4d35b880"
}
},
"post_install": "git config --global credential.helper manager",
"bin": [
"cmd\\git.exe",
"cmd\\gitk.exe",
"cmd\\git-gui.exe",
"git-bash.exe",
"usr\\bin\\ssh.exe",
"usr\\bin\\sshd.exe",
"usr\\bin\\scp.exe",
"usr\\bin\\sftp.exe",
"usr\\bin\\ssh-add.exe",
"usr\\bin\\ssh-agent.exe",
"usr\\bin\\ssh-keygen.exe",
"usr\\bin\\ssh-keyscan.exe",
"usr\\bin\\tig.exe"
],
"shortcuts": [
[
"git-bash.exe",
"Git Bash",
"--cd-to-home"
],
[
"cmd\\git-gui.exe",
"Git GUI"
]
],
"env_set": {
"GIT_INSTALL_ROOT": "$dir"
},
"checkver": {
"github": "https://github.com/git-for-windows/git",
"regex": "v([\\w.]+)/PortableGit-(?<full>[\\w.]+)-64-bit"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v$version/PortableGit-$matchFull-64-bit.7z.exe#/dl.7z"
},
"32bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v$version/PortableGit-$matchFull-32-bit.7z.exe#/dl.7z"
}
},
"hash": {
"url": "https://github.com/git-for-windows/git/releases/tag/v$version",
"regex": "<td>$basename</td>\\s*<td>$sha256</td>"
}
}
}