From 0e7147bfae012c699b88730f3b9d1259988676d5 Mon Sep 17 00:00:00 2001 From: Darloli <96697399+SorYoshino@users.noreply.github.com> Date: Sun, 21 Dec 2025 00:26:03 +0800 Subject: [PATCH] goshs@1.1.3: Fix checkver & autoupdate --- bucket/goshs.json | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/bucket/goshs.json b/bucket/goshs.json index 4c63ef63e32fd9..2d7eca12bfb6c3 100644 --- a/bucket/goshs.json +++ b/bucket/goshs.json @@ -1,10 +1,10 @@ { "version": "1.1.3", - "description": "A SimpleHTTPServer written in Go, enhanced with features and with a nice design", + "description": "A SimpleHTTPServer written in Go, enhanced with features and with a nice design.", "homepage": "https://goshs.de", "license": { "identifier": "MIT", - "url": "https://github.com/patrickhener/goshs/blob/main/LICENSE" + "url": "https://github.com/patrickhener/goshs/blob/HEAD/LICENSE" }, "architecture": { "64bit": { @@ -27,18 +27,19 @@ ] ], "checkver": { - "github": "https://github.com/patrickhener/goshs" + "github": "https://github.com/patrickhener/goshs", + "regex": "(?i)tag/(?v?([\\d.]+))(?=\")" }, "autoupdate": { "architecture": { "64bit": { - "url": "https://github.com/patrickhener/goshs/releases/download/v$version/goshs_windows_x86_64.tar.gz" + "url": "https://github.com/patrickhener/goshs/releases/download/$matchTag/goshs_windows_x86_64.tar.gz" }, "32bit": { - "url": "https://github.com/patrickhener/goshs/releases/download/v$version/goshs_windows_386.tar.gz" + "url": "https://github.com/patrickhener/goshs/releases/download/$matchTag/goshs_windows_386.tar.gz" }, "arm64": { - "url": "https://github.com/patrickhener/goshs/releases/download/v$version/goshs_windows_arm64.tar.gz" + "url": "https://github.com/patrickhener/goshs/releases/download/$matchTag/goshs_windows_arm64.tar.gz" } }, "hash": {