Improve JSONPath querys for openssl and nuget

This commit is contained in:
Richard Kuhnt 2017-09-10 17:45:42 +02:00
parent 5d7819fe23
commit 246d983fc5
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
"bin": "NuGet.exe",
"checkver": {
"url": "https://dist.nuget.org/index.json",
"jp": "$.artifacts[0].versions[0].version"
"jp": "$..versions[?(@.displayName == 'nuget.exe - recommended latest')].version"
},
"autoupdate": {
"url": "https://dist.nuget.org/win-x86-commandline/v$version/NuGet.exe"

View File

@ -30,7 +30,7 @@
},
"hash": {
"mode": "json",
"jp": "$.files.$basename.sha512",
"jp": "$.files.['$basename'].sha512",
"url": "$baseurl/win32_openssl_hashes.json"
}
}