added automated hash extraction for git (#2046)

This commit is contained in:
gitolicious 2018-02-28 19:19:47 +01:00 committed by Richard Kuhnt
parent c3101f6051
commit 98690e8476
2 changed files with 8 additions and 0 deletions

View File

@ -43,6 +43,10 @@
"32bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v$matchVersion/PortableGit-$matchShort-32-bit.7z.exe#/dl.7z"
}
},
"hash": {
"url": "https://github.com/git-for-windows/git/releases/latest",
"find": "<td>$basename<\\/td>\\s*<td>([0-9a-fA-F]+)<\\/td>"
}
}
}

View File

@ -52,6 +52,10 @@ and then restart powershell.",
"32bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v$matchVersion/PortableGit-$matchShort-32-bit.7z.exe#/dl.7z"
}
},
"hash": {
"url": "https://github.com/git-for-windows/git/releases/latest",
"find": "<td>$basename<\\/td>\\s*<td>([0-9a-fA-F]+)<\\/td>"
}
}
}