From 98690e84760e04b176aff10d7db4ca959ea1fc49 Mon Sep 17 00:00:00 2001 From: gitolicious Date: Wed, 28 Feb 2018 19:19:47 +0100 Subject: [PATCH] added automated hash extraction for git (#2046) --- git-with-openssh.json | 4 ++++ git.json | 4 ++++ 2 files changed, 8 insertions(+) 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>" } } }