From ca72bdd16dfe3a9102d1bb31abb56b33c6915cb1 Mon Sep 17 00:00:00 2001 From: linsui <36977733+linsui@users.noreply.github.com> Date: Thu, 15 Aug 2019 22:32:15 +0800 Subject: [PATCH] forego: add au.hash (#344) --- bucket/forego.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/bucket/forego.json b/bucket/forego.json index fdb31a3cf9..6a005913e6 100644 --- a/bucket/forego.json +++ b/bucket/forego.json @@ -1,5 +1,6 @@ { "homepage": "https://github.com/ddollar/forego", + "description": "Foreman in Go.", "version": "20180217041714", "license": "Apache-2.0", "architecture": { @@ -11,14 +12,17 @@ "bin": "forego.exe", "checkver": { "url": "https://dl.equinox.io/ddollar/forego/stable/archive", - "re": "https://bin.equinox.io/a/(?.+)/forego-(?\\d+)-windows-amd64.zip" + "regex": "https://bin.equinox.io/a/(?\\w+)/forego-(\\d+)-windows-amd64.zip" }, "autoupdate": { - "note": "Thanks for using autoupdate, please test your updates!", "architecture": { "64bit": { - "url": "https://bin.equinox.io/a/$matchDir/forego-$matchVersion-windows-amd64.zip" + "url": "https://bin.equinox.io/a/$matchDir/forego-$version-windows-amd64.zip" } + }, + "hash": { + "url": "https://dl.equinox.io/ddollar/forego/stable/archive", + "regex": "(?sm)$basename.*?$sha256" } } }