/
git.json
61 lines (61 loc) · 2 KB
/
git.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"version": "2.45.0.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.45.0.windows.1/PortableGit-2.45.0-64-bit.7z.exe#/dl.7z",
"hash": "e9caf1cab7d2c1dc531a07c48445d84a8b27fae129ca7244e0d4f7b1e4949f60"
},
"32bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v2.45.0.windows.1/PortableGit-2.45.0-32-bit.7z.exe#/dl.7z",
"hash": "652b5d6cb381ee9df6d6d411d8e6c02284d3b84ac6c5b5ced50a1d167d9f825a"
}
},
"bin": [
"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"
]
],
"post_install": "git config --system --unset credential.helper",
"persist": [
"etc\\profile.d",
"etc\\profile"
],
"env_set": {
"GIT_INSTALL_ROOT": "$dir"
},
"checkver": {
"url": "https://api.github.com/repos/git-for-windows/git/releases/latest",
"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>"
}
}
}