mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-04 15:51:23 +00:00
(min)git: Simplify checkver (#4565)
This commit is contained in:
parent
9caf36f6ca
commit
ff6176570d
@ -61,20 +61,20 @@
|
|||||||
},
|
},
|
||||||
"checkver": {
|
"checkver": {
|
||||||
"github": "https://github.com/git-for-windows/git",
|
"github": "https://github.com/git-for-windows/git",
|
||||||
"regex": "v([\\w.]+)/PortableGit-(?<full>[\\w.]+)-64-bit"
|
"regex": "tag/v([\\d.]+\\.windows\\.\\d)"
|
||||||
},
|
},
|
||||||
"autoupdate": {
|
"autoupdate": {
|
||||||
"architecture": {
|
"architecture": {
|
||||||
"64bit": {
|
"64bit": {
|
||||||
"url": "https://github.com/git-for-windows/git/releases/download/v$version/PortableGit-$matchFull-64-bit.7z.exe#/dl.7z"
|
"url": "https://github.com/git-for-windows/git/releases/download/v$version/PortableGit-$matchHead-64-bit.7z.exe#/dl.7z"
|
||||||
},
|
},
|
||||||
"32bit": {
|
"32bit": {
|
||||||
"url": "https://github.com/git-for-windows/git/releases/download/v$version/PortableGit-$matchFull-32-bit.7z.exe#/dl.7z"
|
"url": "https://github.com/git-for-windows/git/releases/download/v$version/PortableGit-$matchHead-32-bit.7z.exe#/dl.7z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"hash": {
|
"hash": {
|
||||||
"url": "https://github.com/git-for-windows/git/releases/tag/v$version",
|
"url": "https://github.com/git-for-windows/git/releases/tag/v$version",
|
||||||
"regex": "<td>$basename</td>\\s*<td>$sha256</td>"
|
"regex": "(?s)$basename.*?$sha256"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -30,20 +30,20 @@
|
|||||||
},
|
},
|
||||||
"checkver": {
|
"checkver": {
|
||||||
"github": "https://github.com/git-for-windows/git",
|
"github": "https://github.com/git-for-windows/git",
|
||||||
"regex": "v([\\w.]+)/MinGit-(?<full>[\\w.]+)-64-bit"
|
"regex": "tag/v([\\d.]+\\.windows\\.\\d)"
|
||||||
},
|
},
|
||||||
"autoupdate": {
|
"autoupdate": {
|
||||||
"architecture": {
|
"architecture": {
|
||||||
"64bit": {
|
"64bit": {
|
||||||
"url": "https://github.com/git-for-windows/git/releases/download/v$version/MinGit-$matchFull-busybox-64-bit.zip"
|
"url": "https://github.com/git-for-windows/git/releases/download/v$version/MinGit-$matchHead-busybox-64-bit.zip"
|
||||||
},
|
},
|
||||||
"32bit": {
|
"32bit": {
|
||||||
"url": "https://github.com/git-for-windows/git/releases/download/v$version/MinGit-$matchFull-busybox-32-bit.zip"
|
"url": "https://github.com/git-for-windows/git/releases/download/v$version/MinGit-$matchHead-busybox-32-bit.zip"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"hash": {
|
"hash": {
|
||||||
"url": "https://github.com/git-for-windows/git/releases/tag/v$version",
|
"url": "https://github.com/git-for-windows/git/releases/tag/v$version",
|
||||||
"regex": "<td>$basename</td>\\s*<td>$sha256</td>"
|
"regex": "(?s)$basename.*?$sha256"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -27,20 +27,20 @@
|
|||||||
},
|
},
|
||||||
"checkver": {
|
"checkver": {
|
||||||
"github": "https://github.com/git-for-windows/git",
|
"github": "https://github.com/git-for-windows/git",
|
||||||
"regex": "v([\\w.]+)/MinGit-(?<full>[\\w.]+)-64-bit"
|
"regex": "tag/v([\\d.]+\\.windows\\.\\d)"
|
||||||
},
|
},
|
||||||
"autoupdate": {
|
"autoupdate": {
|
||||||
"architecture": {
|
"architecture": {
|
||||||
"64bit": {
|
"64bit": {
|
||||||
"url": "https://github.com/git-for-windows/git/releases/download/v$version/MinGit-$matchFull-64-bit.zip"
|
"url": "https://github.com/git-for-windows/git/releases/download/v$version/MinGit-$matchHead-64-bit.zip"
|
||||||
},
|
},
|
||||||
"32bit": {
|
"32bit": {
|
||||||
"url": "https://github.com/git-for-windows/git/releases/download/v$version/MinGit-$matchFull-32-bit.zip"
|
"url": "https://github.com/git-for-windows/git/releases/download/v$version/MinGit-$matchHead-32-bit.zip"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"hash": {
|
"hash": {
|
||||||
"url": "https://github.com/git-for-windows/git/releases/tag/v$version",
|
"url": "https://github.com/git-for-windows/git/releases/tag/v$version",
|
||||||
"regex": "<td>$basename</td>\\s*<td>$sha256</td>"
|
"regex": "(?s)$basename.*?$sha256"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user