caddy: Update to version 1.0.0 and fix 32bit URL (#99)

- Update to version 1.0.0 and fix 32bit URL
Note: official GitHub release page doesn't offer 32-bit caddy. More to see mholt/caddy#2628
- The official download page doesn't specify 'version' parameter for download URL.
But 'version' parameter can specify the version of the caddy you downloaded.
This commit is contained in:
Huiyi.FYJ 2019-05-30 20:54:53 +08:00 committed by Richard Kuhnt
parent 5c5282bc55
commit ffb9ba231c

View File

@ -1,16 +1,16 @@
{
"version": "0.11.5",
"version": "1.0.0",
"homepage": "https://caddyserver.com",
"description": "HTTP/2 web server with automatic HTTPS",
"license": "Apache-2.0",
"architecture": {
"64bit": {
"url": "https://github.com/mholt/caddy/releases/download/v0.11.5/caddy_v0.11.5_windows_amd64.zip",
"hash": "3a43f833c30b63be0b985086e15e545a2f0755ff11ae77297880e566405e6746"
"url": "https://github.com/mholt/caddy/releases/download/v1.0.0/caddy_v1.0.0_windows_amd64.zip",
"hash": "c8cb7093e427662edc2345baadb9caf868c9b0c2167ec33d831c4f2c8a2ceea2"
},
"32bit": {
"url": "https://github.com/mholt/caddy/releases/download/v0.11.5/caddy_v0.11.5_windows_386.zip",
"hash": "754572ca6fbeddde13afb4b8c12f5539fcf61fda4f2a713938f189e46dbdd2a3"
"url": "https://caddyserver.com/download/windows/386?license=personal&telemetry=off&version=v1.0.0",
"hash": "9ee82912eeeade89044a366ab9feaac3d5cdd8ab9c60e27fc067fabd797fb3e0"
}
},
"bin": "caddy.exe",
@ -23,7 +23,7 @@
"url": "https://github.com/mholt/caddy/releases/download/v$version/caddy_v$version_windows_amd64.zip"
},
"32bit": {
"url": "https://github.com/mholt/caddy/releases/download/v$version/caddy_v$version_windows_386.zip"
"url": "https://caddyserver.com/download/windows/386?license=personal&telemetry=off&version=v$version"
}
}
}