forego: add au.hash (#344)

This commit is contained in:
linsui 2019-08-15 22:32:15 +08:00 committed by Chawye Hsu
parent 18c6cca74f
commit ca72bdd16d

View File

@ -1,5 +1,6 @@
{ {
"homepage": "https://github.com/ddollar/forego", "homepage": "https://github.com/ddollar/forego",
"description": "Foreman in Go.",
"version": "20180217041714", "version": "20180217041714",
"license": "Apache-2.0", "license": "Apache-2.0",
"architecture": { "architecture": {
@ -11,14 +12,17 @@
"bin": "forego.exe", "bin": "forego.exe",
"checkver": { "checkver": {
"url": "https://dl.equinox.io/ddollar/forego/stable/archive", "url": "https://dl.equinox.io/ddollar/forego/stable/archive",
"re": "https://bin.equinox.io/a/(?<dir>.+)/forego-(?<version>\\d+)-windows-amd64.zip" "regex": "https://bin.equinox.io/a/(?<dir>\\w+)/forego-(\\d+)-windows-amd64.zip"
}, },
"autoupdate": { "autoupdate": {
"note": "Thanks for using autoupdate, please test your updates!",
"architecture": { "architecture": {
"64bit": { "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"
} }
} }
} }