shellcheck: Use github releases (#907)

This commit is contained in:
Dabombber 2020-03-21 21:48:18 +13:00 committed by GitHub
parent 0ddd03e39a
commit e01cb90b27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,16 +3,14 @@
"version": "0.7.0", "version": "0.7.0",
"description": "Static analysis tool for shell scripts", "description": "Static analysis tool for shell scripts",
"license": "GPL-3.0-only", "license": "GPL-3.0-only",
"url": "https://shellcheck.storage.googleapis.com/shellcheck-v0.7.0.zip", "url": "https://github.com/koalaman/shellcheck/releases/download/v0.7.0/shellcheck-v0.7.0.zip",
"hash": "02cfa14220c8154bb7c97909e80e74d3a7fe2cbb7d80ac32adcac7988a95e387", "hash": "02cfa14220c8154bb7c97909e80e74d3a7fe2cbb7d80ac32adcac7988a95e387",
"bin": "shellcheck.exe", "bin": "shellcheck.exe",
"pre_install": "Get-ChildItem \"$dir\\shellcheck-*.exe\" | Rename-Item -NewName \"$dir\\shellcheck.exe\"", "pre_install": "Get-ChildItem \"$dir\\shellcheck-*.exe\" | Rename-Item -NewName \"$dir\\shellcheck.exe\"",
"checkver": { "checkver": {
"url": "https://shellcheck.storage.googleapis.com/", "github": "https://github.com/koalaman/shellcheck"
"re": "<Key>shellcheck-v([\\d.]+)\\.zip</Key>",
"reverse": true
}, },
"autoupdate": { "autoupdate": {
"url": "https://shellcheck.storage.googleapis.com/shellcheck-v$version.zip" "url": "https://github.com/koalaman/shellcheck/releases/download/v$version/shellcheck-v$version.zip"
} }
} }