mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-08 17:51:21 +00:00
Mingit (#2469)
This commit is contained in:
parent
496a7580bf
commit
487234706b
2
git.json
2
git.json
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"##": "Maintainers: when updating this manifest to a new version, you might like to also update git-with-openssh.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/",
|
"homepage": "https://git-for-windows.github.io/",
|
||||||
"license": "GPL-2.0",
|
"license": "GPL-2.0",
|
||||||
"version": "2.18.0.windows.1",
|
"version": "2.18.0.windows.1",
|
||||||
|
|||||||
50
mingit.json
Normal file
50
mingit.json
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
{
|
||||||
|
"homepage": "https://git-for-windows.github.io/",
|
||||||
|
"license": "GPL-2.0",
|
||||||
|
"version": "2.18.0.windows.1",
|
||||||
|
"architecture": {
|
||||||
|
"64bit": {
|
||||||
|
"url": "https://github.com/git-for-windows/git/releases/download/v2.18.0.windows.1/MinGit-2.18.0-64-bit.zip",
|
||||||
|
"hash": "1dfd05de1320d57f448ed08a07c0b9de2de8976c83840f553440689b5db6a1cf"
|
||||||
|
},
|
||||||
|
"32bit": {
|
||||||
|
"url": "https://github.com/git-for-windows/git/releases/download/v2.18.0.windows.1/MinGit-2.18.0-32-bit.zip",
|
||||||
|
"hash": "c2f59c121d0f5aac31c959e5ba2878542b6cbca6604778566061d45585e70895"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"bin": [
|
||||||
|
"cmd\\git.exe"
|
||||||
|
],
|
||||||
|
"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.]+)/MinGit-(?<short>[\\d.]+).*\\.exe"
|
||||||
|
},
|
||||||
|
"env_set": {
|
||||||
|
"GIT_INSTALL_ROOT": "$dir"
|
||||||
|
},
|
||||||
|
"autoupdate": {
|
||||||
|
"architecture": {
|
||||||
|
"64bit": {
|
||||||
|
"url": "https://github.com/git-for-windows/git/releases/download/v$matchVersion/MinGit-$matchShort-64-bit.zip"
|
||||||
|
},
|
||||||
|
"32bit": {
|
||||||
|
"url": "https://github.com/git-for-windows/git/releases/download/v$matchVersion/MinGit-$matchShort-32-bit.zip"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"hash": {
|
||||||
|
"url": "https://github.com/git-for-windows/git/releases/latest",
|
||||||
|
"find": "<td>$basename<\\/td>\\s*<td>([0-9a-fA-F]+)<\\/td>"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user