jq: Add hash extraction (#3143)

- Add description

See: <https://stedolan.github.io/jq/download/#checksums_and_signatures>
This commit is contained in:
Jakub Čábera 2019-02-20 15:54:43 +01:00 committed by Richard Kuhnt
parent e72e6ebcc2
commit 25a1928ab9

10
jq.json
View File

@ -1,6 +1,7 @@
{ {
"homepage": "https://stedolan.github.io/jq/",
"version": "1.6", "version": "1.6",
"description": "Lightweight and flexible command-line JSON processor.",
"homepage": "https://stedolan.github.io/jq/",
"license": "MIT", "license": "MIT",
"architecture": { "architecture": {
"32bit": { "32bit": {
@ -14,8 +15,8 @@
}, },
"bin": "jq.exe", "bin": "jq.exe",
"checkver": { "checkver": {
"url": "https://github.com/stedolan/jq/releases/latest", "github": "https://github.com/stedolan/jq/",
"re": "/releases/tag/jq-([\\d.]+)" "regex": "tag/jq-([\\d\\.]+)"
}, },
"autoupdate": { "autoupdate": {
"architecture": { "architecture": {
@ -25,6 +26,9 @@
"64bit": { "64bit": {
"url": "https://github.com/stedolan/jq/releases/download/jq-$version/jq-win64.exe#/jq.exe" "url": "https://github.com/stedolan/jq/releases/download/jq-$version/jq-win64.exe#/jq.exe"
} }
},
"hash": {
"url": "https://raw.githubusercontent.com/stedolan/jq/jq-$version/sig/v$version/sha256sum.txt"
} }
} }
} }