diff --git a/bucket/atomicparsley.json b/bucket/atomicparsley.json index d588df8f3e..b28873446f 100644 --- a/bucket/atomicparsley.json +++ b/bucket/atomicparsley.json @@ -15,8 +15,8 @@ }, "bin": "AtomicParsley.exe", "checkver": { - "url": "https://github.com/wez/atomicparsley/releases", - "regex": "tree\\/([\\d.[a-f]+)\"" + "github": "https://github.com/wez/atomicparsley", + "regex": "/releases/tag/(\\d+\\.\\d+\\.[a-f0-9]+)" }, "autoupdate": { "architecture": { diff --git a/bucket/cloc.json b/bucket/cloc.json index 298f89e64f..92be156ef2 100644 --- a/bucket/cloc.json +++ b/bucket/cloc.json @@ -7,10 +7,9 @@ "hash": "bbe48de9102d0f2520d292d65897001c1d068340eb7cd74dd1ee30c1a9091c4a", "bin": "cloc.exe", "checkver": { - "url": "https://github.com/AlDanial/cloc/releases", - "regex": "/releases/tag/(?v?)(?[\\d.]+)" + "github": "https://github.com/AlDanial/cloc" }, "autoupdate": { - "url": "https://github.com/AlDanial/cloc/releases/download/$matchPrefix$version/cloc-$version.exe#/cloc.exe" + "url": "https://github.com/AlDanial/cloc/releases/download/v$version/cloc-$version.exe#/cloc.exe" } } diff --git a/bucket/k0s.json b/bucket/k0s.json index e164db19b5..6460e8ef01 100644 --- a/bucket/k0s.json +++ b/bucket/k0s.json @@ -11,13 +11,17 @@ }, "bin": "k0s.exe", "checkver": { - "url": "https://github.com/k0sproject/k0s/releases", - "regex": "v([\\d.]+\\+k0s[\\d.]+)" + "github": "https://github.com/k0sproject/k0s", + "regex": "v(\\d+\\.\\d+\\.\\d+\\+k0s\\.\\d+)" }, "autoupdate": { "architecture": { "64bit": { - "url": "https://github.com/k0sproject/k0s/releases/download/v$version/k0s-v$version-amd64.exe#/k0s.exe" + "url": "https://github.com/k0sproject/k0s/releases/download/v$version/k0s-v$version-amd64.exe#/k0s.exe", + "hash": { + "url": "$baseurl/sha256sums.txt", + "regex": "$sha256\\s\\*k0s-v$version-amd64.exe" + } } } } diff --git a/bucket/knative.json b/bucket/knative.json index bb2b797bb9..e5661884b3 100644 --- a/bucket/knative.json +++ b/bucket/knative.json @@ -11,8 +11,8 @@ }, "bin": "kn.exe", "checkver": { - "url": "https://github.com/knative/client/releases", - "regex": "knative-v([\\d.]+)" + "github": "https://github.com/knative/client", + "regex": "/releases/tag/knative-v([\\d.]+)" }, "autoupdate": { "architecture": { diff --git a/bucket/lychee.json b/bucket/lychee.json index 03244a73fc..dd7bdcd76f 100644 --- a/bucket/lychee.json +++ b/bucket/lychee.json @@ -11,8 +11,8 @@ }, "bin": "lychee.exe", "checkver": { - "url": "https://github.com/lycheeverse/lychee/releases", - "regex": "releases/tag/lychee-v([\\d.]+)" + "github": "https://github.com/lycheeverse/lychee", + "regex": "/releases/tag/lychee-v([\\d.]+)" }, "autoupdate": { "architecture": { diff --git a/bucket/suanpan.json b/bucket/suanpan.json index 48e9f27d06..6c52d3b2b9 100644 --- a/bucket/suanpan.json +++ b/bucket/suanpan.json @@ -12,8 +12,8 @@ }, "bin": "suanPan.exe", "checkver": { - "url": "https://github.com/TLCFEM/suanPan/releases", - "regex": "suanPan-v([\\d.]+)" + "github": "https://github.com/TLCFEM/suanPan", + "regex": "/releases/tag/suanPan-v([\\d.]+)" }, "autoupdate": { "architecture": { diff --git a/bucket/typst.json b/bucket/typst.json index dd413d5381..52bfe1b1cc 100644 --- a/bucket/typst.json +++ b/bucket/typst.json @@ -17,8 +17,7 @@ }, "bin": "typst.exe", "checkver": { - "url": "https://github.com/typst/typst/releases", - "regex": "tag/v?([\\d.-]+)" + "github": "https://github.com/typst/typst" }, "autoupdate": { "architecture": { diff --git a/bucket/yazi.json b/bucket/yazi.json index 3e6495a4fc..0cbab82569 100644 --- a/bucket/yazi.json +++ b/bucket/yazi.json @@ -20,8 +20,7 @@ "yazi.exe" ], "checkver": { - "url": "https://github.com/sxyazi/yazi/releases", - "regex": "tag/v?([\\d.]+)" + "github": "https://github.com/sxyazi/yazi" }, "autoupdate": { "architecture": {