From cd8f3ed8ff84ecbaefe9e69e1f93c6c95c1f2944 Mon Sep 17 00:00:00 2001 From: Francois Botha Date: Fri, 28 Jan 2022 00:20:48 +0200 Subject: [PATCH] MongoDB: Use jsonpath for checkver (#3261) --- bucket/mongodb.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bucket/mongodb.json b/bucket/mongodb.json index 0251146c22..6786bdf5cc 100644 --- a/bucket/mongodb.json +++ b/bucket/mongodb.json @@ -49,7 +49,8 @@ ], "checkver": { "url": "http://downloads.mongodb.org/current.json", - "regex": "version\": \"(\\d+(\\.\\d+)*)\"" + "jsonpath": "$.versions..version", + "regex": "(\\d+(\\.\\d+)*)" }, "autoupdate": { "architecture": {