scoop-extras/bucket/git.json

60 lines
2.0 KiB
JSON

{
"version": "2.39.0.windows.2",
"description": "Distributed version control system",
"homepage": "https://gitforwindows.org",
"license": "GPL-2.0-only",
"notes": "Set Git Credential Manager Core by running: \"git config --global credential.helper manager\"",
"architecture": {
"64bit": {
"url": "http://dl.simaek.com/scoop/buckets/custom/package/PortableGit-2.39.0.2-64-bit.7z.exe#/dl.7z",
"hash": "0a58c7b062a29bc44fb573c9afc5323011d01237dd94c74e6c833929cfe25436"
},
"32bit": {
"url": "http://dl.simaek.com/scoop/buckets/custom/package/PortableGit-2.39.0.2-32-bit.7z.exe#/dl.7z",
"hash": "042de3e9f87e529ee53ed31385bc76b39a9794c32c18ea7c62e3e6445dd8484d"
}
},
"bin": [
"bin\\sh.exe",
"bin\\bash.exe",
"cmd\\git.exe",
"cmd\\gitk.exe",
"cmd\\git-gui.exe",
"cmd\\scalar.exe",
"usr\\bin\\tig.exe",
"git-bash.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>"
}
}
}