From 8bcdee721ed600f6ccb01b2390929542ca57af74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C4=8C=C3=A1bera?= Date: Mon, 10 Sep 2018 19:50:33 +0200 Subject: [PATCH] pwsh: Add hash to autoupdate (#2578) --- pwsh.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pwsh.json b/pwsh.json index afb261e358..e7211536c4 100644 --- a/pwsh.json +++ b/pwsh.json @@ -19,9 +19,7 @@ "PowerShell Core" ] ], - "checkver": { - "github": "https://github.com/PowerShell/PowerShell" - }, + "checkver": "github", "autoupdate": { "architecture": { "64bit": { @@ -30,6 +28,10 @@ "32bit": { "url": "https://github.com/PowerShell/PowerShell/releases/download/v$version/PowerShell-$version-win-x86.zip" } + }, + "hash": { + "url": "https://github.com/PowerShell/PowerShell/releases/tag/v$version/", + "find": "$basename\\s*