2021-03-27 16:57:19 +01:00

48 lines
2.0 KiB
JSON

{
"version": "2.31.1.windows.1",
"description": "Minimal Git for Windows (MinGit) is a reduced sized package designed to support application integration (like integrated development environments, graph visualizers, etc.) where full console support (colorization, pagniation, etc.) is not needed.",
"homepage": "https://git-for-windows.github.io/",
"license": "GPL-2.0-only",
"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."
],
"architecture": {
"64bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v2.31.1.windows.1/MinGit-2.31.1-64-bit.zip",
"hash": "a07739b564ac37b9ac6267205a80af99d518b0d4b7520f1934e31c9fe7cfc599"
},
"32bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v2.31.1.windows.1/MinGit-2.31.1-32-bit.zip",
"hash": "871462ccd94315f490197163afe6903ba65b8460081579d8985c434b3531745d"
}
},
"post_install": "git config --global credential.helper manager",
"bin": "cmd\\git.exe",
"env_set": {
"GIT_INSTALL_ROOT": "$dir"
},
"checkver": {
"github": "https://github.com/git-for-windows/git",
"regex": "v([\\w.]+)/MinGit-(?<full>[\\w.]+)-64-bit"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v$version/MinGit-$matchFull-64-bit.zip"
},
"32bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v$version/MinGit-$matchFull-32-bit.zip"
}
},
"hash": {
"url": "https://github.com/git-for-windows/git/releases/tag/v$version",
"regex": "<td>$basename</td>\\s*<td>$sha256</td>"
}
}
}