From 60dcd513c360768075927b38b1747a343ab70ff0 Mon Sep 17 00:00:00 2001 From: Richard Kuhnt Date: Sun, 10 Mar 2019 22:08:18 +0100 Subject: [PATCH] remove double parenthesis from hash regex --- git-annex.json | 4 ++-- gitversion.json | 2 +- haskell.json | 4 ++-- nssm.json | 2 +- red.json | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/git-annex.json b/git-annex.json index bfa1ff2082..94964dac1c 100644 --- a/git-annex.json +++ b/git-annex.json @@ -14,8 +14,8 @@ "autoupdate": { "url": "https://downloads.kitenet.net/git-annex/windows/current/git-annex-installer.exe#/dl.7z", "hash": { - "url": "https://downloads.kitenet.net/git-annex/windows/current/git-annex-installer.exe.info", - "find": "([a-f0-9]{64}).exe" + "url": "$url.info", + "find": "$sha256.exe" } } } diff --git a/gitversion.json b/gitversion.json index 6946f69796..4480272ded 100644 --- a/gitversion.json +++ b/gitversion.json @@ -15,7 +15,7 @@ "url": "https://packages.chocolatey.org/GitVersion.Portable.$version.nupkg", "hash": { "url": "https://chocolatey.org/packages/GitVersion.Portable/$version", - "regex": "($sha256)/analysis/\">$basename" + "regex": "$sha256/analysis/\">$basename" } } } diff --git a/haskell.json b/haskell.json index 440c02ee56..748bda3181 100644 --- a/haskell.json +++ b/haskell.json @@ -43,14 +43,14 @@ "url": "https://haskell.org/platform/download/$version/HaskellPlatform-$version-core-x86_64-setup.exe", "hash": { "url": "https://www.haskell.org/platform/windows.html", - "regex": "(?sm)Start Menu.*64 bit Core:
($sha256).*32 bit Core" + "regex": "(?sm)Start Menu.*64 bit Core:
$sha256.*32 bit Core" } }, "32bit": { "url": "https://haskell.org/platform/download/$version/HaskellPlatform-$version-core-i386-setup.exe", "hash": { "url": "https://www.haskell.org/platform/windows.html", - "regex": "32 bit Core:
($sha256)" + "regex": "32 bit Core:
$sha256" } } } diff --git a/nssm.json b/nssm.json index 8a69bf282e..9380dbcdf1 100644 --- a/nssm.json +++ b/nssm.json @@ -28,7 +28,7 @@ "url": "https://nssm.cc/release/nssm-$version.zip", "hash": { "url": "https://nssm.cc/download/", - "regex": "\\[($sha1)\\]" + "regex": "\\[$sha1\\]" }, "architecture": { "64bit": { diff --git a/red.json b/red.json index fd3b768c47..bc546f71a4 100644 --- a/red.json +++ b/red.json @@ -14,7 +14,7 @@ "url": "https://static.red-lang.org/dl/win/red-$cleanVersion.exe#/red.exe", "hash": { "url": "http://static.red-lang.org/download.html", - "regex": "($sha256)" + "regex": "$sha256" } } }