remove double parenthesis from hash regex

This commit is contained in:
Richard Kuhnt 2019-03-10 22:08:18 +01:00
parent 10b305f8e6
commit 60dcd513c3
5 changed files with 7 additions and 7 deletions

View File

@ -14,8 +14,8 @@
"autoupdate": { "autoupdate": {
"url": "https://downloads.kitenet.net/git-annex/windows/current/git-annex-installer.exe#/dl.7z", "url": "https://downloads.kitenet.net/git-annex/windows/current/git-annex-installer.exe#/dl.7z",
"hash": { "hash": {
"url": "https://downloads.kitenet.net/git-annex/windows/current/git-annex-installer.exe.info", "url": "$url.info",
"find": "([a-f0-9]{64}).exe" "find": "$sha256.exe"
} }
} }
} }

View File

@ -15,7 +15,7 @@
"url": "https://packages.chocolatey.org/GitVersion.Portable.$version.nupkg", "url": "https://packages.chocolatey.org/GitVersion.Portable.$version.nupkg",
"hash": { "hash": {
"url": "https://chocolatey.org/packages/GitVersion.Portable/$version", "url": "https://chocolatey.org/packages/GitVersion.Portable/$version",
"regex": "($sha256)/analysis/\">$basename" "regex": "$sha256/analysis/\">$basename"
} }
} }
} }

View File

@ -43,14 +43,14 @@
"url": "https://haskell.org/platform/download/$version/HaskellPlatform-$version-core-x86_64-setup.exe", "url": "https://haskell.org/platform/download/$version/HaskellPlatform-$version-core-x86_64-setup.exe",
"hash": { "hash": {
"url": "https://www.haskell.org/platform/windows.html", "url": "https://www.haskell.org/platform/windows.html",
"regex": "(?sm)Start Menu.*64 bit Core:<br><textarea.+>($sha256).*32 bit Core" "regex": "(?sm)Start Menu.*64 bit Core:<br><textarea.+>$sha256.*32 bit Core"
} }
}, },
"32bit": { "32bit": {
"url": "https://haskell.org/platform/download/$version/HaskellPlatform-$version-core-i386-setup.exe", "url": "https://haskell.org/platform/download/$version/HaskellPlatform-$version-core-i386-setup.exe",
"hash": { "hash": {
"url": "https://www.haskell.org/platform/windows.html", "url": "https://www.haskell.org/platform/windows.html",
"regex": "32 bit Core:<br><textarea.+>($sha256)" "regex": "32 bit Core:<br><textarea.+>$sha256"
} }
} }
} }

View File

@ -28,7 +28,7 @@
"url": "https://nssm.cc/release/nssm-$version.zip", "url": "https://nssm.cc/release/nssm-$version.zip",
"hash": { "hash": {
"url": "https://nssm.cc/download/", "url": "https://nssm.cc/download/",
"regex": "\\[($sha1)\\]" "regex": "\\[$sha1\\]"
}, },
"architecture": { "architecture": {
"64bit": { "64bit": {

View File

@ -14,7 +14,7 @@
"url": "https://static.red-lang.org/dl/win/red-$cleanVersion.exe#/red.exe", "url": "https://static.red-lang.org/dl/win/red-$cleanVersion.exe#/red.exe",
"hash": { "hash": {
"url": "http://static.red-lang.org/download.html", "url": "http://static.red-lang.org/download.html",
"regex": "($sha256)" "regex": "$sha256"
} }
} }
} }