diff --git a/bucket/staticcheck.json b/bucket/staticcheck.json index ae6fdf0e59..da8b62a2b7 100644 --- a/bucket/staticcheck.json +++ b/bucket/staticcheck.json @@ -1,30 +1,31 @@ { - "version": "2022.1.2", + "version": "2022.1.3", "description": "An advanced Go linter", "homepage": "https://staticcheck.io", "license": "MIT", "architecture": { "64bit": { - "url": "https://github.com/dominikh/go-tools/releases/download/2022.1.2/staticcheck_windows_amd64.tar.gz", - "hash": "49cf38cb52abc47e36a573d2926ab5dfd15fa5ea3b4331b39d675c1b5a2f964f" + "url": "https://github.com/dominikh/go-tools/releases/download/v0.3.3/staticcheck_windows_amd64.tar.gz", + "hash": "73e808d2636d33279f922991b95edda739289135fa920a5c001686f5c20374d6" }, "32bit": { - "url": "https://github.com/dominikh/go-tools/releases/download/2022.1.2/staticcheck_windows_386.tar.gz", - "hash": "86361cd558b2b3838c65fe6f99d7bb7351bffca6e97a58fef8241acd8d7d0287" + "url": "https://github.com/dominikh/go-tools/releases/download/v0.3.3/staticcheck_windows_386.tar.gz", + "hash": "f8b24841ee616196f3c79e837673e4dd574d5f6e0d98eee6a1aa99d28a3849d7" } }, "extract_dir": "staticcheck", "bin": "staticcheck.exe", "checkver": { - "github": "https://github.com/dominikh/go-tools" + "url": "https://api.github.com/repos/dominikh/go-tools/releases", + "regex": "Staticcheck ([\\d.]+) \\(v([\\d.]+)\\)" }, "autoupdate": { "architecture": { "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": { - "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": {