MongoDB: Use jsonpath for checkver (#3261)

This commit is contained in:
Francois Botha 2022-01-28 00:20:48 +02:00 committed by GitHub
parent aa5875f325
commit cd8f3ed8ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,8 @@
], ],
"checkver": { "checkver": {
"url": "http://downloads.mongodb.org/current.json", "url": "http://downloads.mongodb.org/current.json",
"regex": "version\": \"(\\d+(\\.\\d+)*)\"" "jsonpath": "$.versions..version",
"regex": "(\\d+(\\.\\d+)*)"
}, },
"autoupdate": { "autoupdate": {
"architecture": { "architecture": {