diff --git a/git-with-openssh.json b/git-with-openssh.json index bdb3a4ee91..8498a7570c 100644 --- a/git-with-openssh.json +++ b/git-with-openssh.json @@ -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": "$basename<\\/td>\\s*([0-9a-fA-F]+)<\\/td>" } } } diff --git a/git.json b/git.json index ce07367f5b..1ebb1d30e2 100644 --- a/git.json +++ b/git.json @@ -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": "$basename<\\/td>\\s*([0-9a-fA-F]+)<\\/td>" } } }