From 25a1928ab90da9b153954b5233eda0914525340d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C4=8C=C3=A1bera?= Date: Wed, 20 Feb 2019 15:54:43 +0100 Subject: [PATCH] jq: Add hash extraction (#3143) - Add description See: --- jq.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/jq.json b/jq.json index c7c59bc62a..77933be194 100644 --- a/jq.json +++ b/jq.json @@ -1,6 +1,7 @@ { - "homepage": "https://stedolan.github.io/jq/", "version": "1.6", + "description": "Lightweight and flexible command-line JSON processor.", + "homepage": "https://stedolan.github.io/jq/", "license": "MIT", "architecture": { "32bit": { @@ -14,8 +15,8 @@ }, "bin": "jq.exe", "checkver": { - "url": "https://github.com/stedolan/jq/releases/latest", - "re": "/releases/tag/jq-([\\d.]+)" + "github": "https://github.com/stedolan/jq/", + "regex": "tag/jq-([\\d\\.]+)" }, "autoupdate": { "architecture": { @@ -25,6 +26,9 @@ "64bit": { "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" } } }