staticcheck: Update to version 2022.1.3, fix checkver

Release tags are now the second version number (0.3.3) rather than the date version number (2022.1.3)
This commit is contained in:
tech189 2022-08-27 14:51:59 +01:00
parent 6a04f806ed
commit 8732f32564

View File

@ -1,30 +1,31 @@
{ {
"version": "2022.1.2", "version": "2022.1.3",
"description": "An advanced Go linter", "description": "An advanced Go linter",
"homepage": "https://staticcheck.io", "homepage": "https://staticcheck.io",
"license": "MIT", "license": "MIT",
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://github.com/dominikh/go-tools/releases/download/2022.1.2/staticcheck_windows_amd64.tar.gz", "url": "https://github.com/dominikh/go-tools/releases/download/v0.3.3/staticcheck_windows_amd64.tar.gz",
"hash": "49cf38cb52abc47e36a573d2926ab5dfd15fa5ea3b4331b39d675c1b5a2f964f" "hash": "73e808d2636d33279f922991b95edda739289135fa920a5c001686f5c20374d6"
}, },
"32bit": { "32bit": {
"url": "https://github.com/dominikh/go-tools/releases/download/2022.1.2/staticcheck_windows_386.tar.gz", "url": "https://github.com/dominikh/go-tools/releases/download/v0.3.3/staticcheck_windows_386.tar.gz",
"hash": "86361cd558b2b3838c65fe6f99d7bb7351bffca6e97a58fef8241acd8d7d0287" "hash": "f8b24841ee616196f3c79e837673e4dd574d5f6e0d98eee6a1aa99d28a3849d7"
} }
}, },
"extract_dir": "staticcheck", "extract_dir": "staticcheck",
"bin": "staticcheck.exe", "bin": "staticcheck.exe",
"checkver": { "checkver": {
"github": "https://github.com/dominikh/go-tools" "url": "https://api.github.com/repos/dominikh/go-tools/releases",
"regex": "Staticcheck ([\\d.]+) \\(v([\\d.]+)\\)"
}, },
"autoupdate": { "autoupdate": {
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://github.com/dominikh/go-tools/releases/download/$version/staticcheck_windows_amd64.tar.gz" "url": "https://github.com/dominikh/go-tools/releases/download/v$match2/staticcheck_windows_amd64.tar.gz"
}, },
"32bit": { "32bit": {
"url": "https://github.com/dominikh/go-tools/releases/download/$version/staticcheck_windows_386.tar.gz" "url": "https://github.com/dominikh/go-tools/releases/download/v$match2/staticcheck_windows_386.tar.gz"
} }
}, },
"hash": { "hash": {