detekt: Update to version 1.22.0

Fixed checkver to use GitHub API as Releases page no longer contains file names
This commit is contained in:
tech189 2022-12-20 21:04:18 +00:00
parent 7bc9a2a47f
commit da0e1951a6

View File

@ -1,5 +1,5 @@
{ {
"version": "1.21.0", "version": "1.22.0",
"description": "A static code analysis tool for the Kotlin programming language", "description": "A static code analysis tool for the Kotlin programming language",
"homepage": "https://github.com/detekt/detekt", "homepage": "https://github.com/detekt/detekt",
"license": "Apache-2.0", "license": "Apache-2.0",
@ -9,9 +9,9 @@
"java/openjdk" "java/openjdk"
] ]
}, },
"url": "https://github.com/detekt/detekt/releases/download/v1.21.0/detekt-cli-1.21.0.zip", "url": "https://github.com/detekt/detekt/releases/download/v1.22.0/detekt-cli-1.22.0.zip",
"hash": "619f72d09bc38072bdb40989cf9e6e3dc012f9b5f17cd940ff04fb9fa81206fb", "hash": "7c3bc8e2b89493eb645e050a70186ecb34ecc14205381ad2e4110807d334413e",
"extract_dir": "detekt-cli-1.21.0", "extract_dir": "detekt-cli-1.22.0",
"bin": [ "bin": [
[ [
"bin\\detekt-cli.bat", "bin\\detekt-cli.bat",
@ -19,7 +19,7 @@
] ]
], ],
"checkver": { "checkver": {
"url": "https://github.com/detekt/detekt/releases", "url": "https://api.github.com/repos/detekt/detekt/releases",
"regex": "detekt-cli-(?<version>[\\d.]+)\\.zip" "regex": "detekt-cli-(?<version>[\\d.]+)\\.zip"
}, },
"autoupdate": { "autoupdate": {