mongodb: Fix checkver

Avoid matching "6.0.0-rc0"
This commit is contained in:
Issac Lin 2022-04-20 13:24:06 +08:00 committed by GitHub
parent a372a8daa7
commit 311ef0484c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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