Skip to content

Commit e2ffdba

Browse files
committed
chore: Update compatible checkver to github
Signed-off-by: Steve Hipwell <[email protected]>
1 parent 317d009 commit e2ffdba

File tree

8 files changed

+19
-18
lines changed

8 files changed

+19
-18
lines changed

bucket/atomicparsley.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
},
1616
"bin": "AtomicParsley.exe",
1717
"checkver": {
18-
"url": "https://github.com/wez/atomicparsley/releases",
19-
"regex": "tree\\/([\\d.[a-f]+)\""
18+
"github": "https://github.com/wez/atomicparsley",
19+
"regex": "/releases/tag/(\\d+\\.\\d+\\.[a-f0-9]+)"
2020
},
2121
"autoupdate": {
2222
"architecture": {

bucket/cloc.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@
77
"hash": "bbe48de9102d0f2520d292d65897001c1d068340eb7cd74dd1ee30c1a9091c4a",
88
"bin": "cloc.exe",
99
"checkver": {
10-
"url": "https://github.com/AlDanial/cloc/releases",
11-
"regex": "/releases/tag/(?<prefix>v?)(?<version>[\\d.]+)"
10+
"github": "https://github.com/AlDanial/cloc"
1211
},
1312
"autoupdate": {
14-
"url": "https://github.com/AlDanial/cloc/releases/download/$matchPrefix$version/cloc-$version.exe#/cloc.exe"
13+
"url": "https://github.com/AlDanial/cloc/releases/download/v$version/cloc-$version.exe#/cloc.exe"
1514
}
1615
}

bucket/k0s.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,17 @@
1111
},
1212
"bin": "k0s.exe",
1313
"checkver": {
14-
"url": "https://github.com/k0sproject/k0s/releases",
15-
"regex": "v([\\d.]+\\+k0s[\\d.]+)"
14+
"github": "https://github.com/k0sproject/k0s",
15+
"regex": "/releases/tag/v(\\d+\\.\\d+\\.\\d+\\+k0s[\\d.]+)"
1616
},
1717
"autoupdate": {
1818
"architecture": {
1919
"64bit": {
20-
"url": "https://github.com/k0sproject/k0s/releases/download/v$version/k0s-v$version-amd64.exe#/k0s.exe"
20+
"url": "https://github.com/k0sproject/k0s/releases/download/v$version/k0s-v$version-amd64.exe#/k0s.exe",
21+
"hash": {
22+
"url": "$baseurl/sha256sums.txt",
23+
"regex": "$sha256\\s\\*k0s-v$version-amd64.exe"
24+
}
2125
}
2226
}
2327
}

bucket/knative.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
},
1212
"bin": "kn.exe",
1313
"checkver": {
14-
"url": "https://github.com/knative/client/releases",
15-
"regex": "knative-v([\\d.]+)"
14+
"github": "https://github.com/knative/client",
15+
"regex": "/releases/tag/knative-v([\\d.]+)"
1616
},
1717
"autoupdate": {
1818
"architecture": {

bucket/lychee.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
},
1212
"bin": "lychee.exe",
1313
"checkver": {
14-
"url": "https://github.com/lycheeverse/lychee/releases",
15-
"regex": "releases/tag/lychee-v([\\d.]+)"
14+
"github": "https://github.com/lycheeverse/lychee",
15+
"regex": "/releases/tag/lychee-v([\\d.]+)"
1616
},
1717
"autoupdate": {
1818
"architecture": {

bucket/suanpan.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
},
1313
"bin": "suanPan.exe",
1414
"checkver": {
15-
"url": "https://github.com/TLCFEM/suanPan/releases",
16-
"regex": "suanPan-v([\\d.]+)"
15+
"github": "https://github.com/TLCFEM/suanPan",
16+
"regex": "/releases/tag/suanPan-v([\\d.]+)"
1717
},
1818
"autoupdate": {
1919
"architecture": {

bucket/typst.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
},
1818
"bin": "typst.exe",
1919
"checkver": {
20-
"url": "https://github.com/typst/typst/releases",
21-
"regex": "tag/v?([\\d.-]+)"
20+
"github": "https://github.com/typst/typst"
2221
},
2322
"autoupdate": {
2423
"architecture": {

bucket/yazi.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
"yazi.exe"
2121
],
2222
"checkver": {
23-
"url": "https://github.com/sxyazi/yazi/releases",
24-
"regex": "tag/v?([\\d.]+)"
23+
"github": "https://github.com/sxyazi/yazi"
2524
},
2625
"autoupdate": {
2726
"architecture": {

0 commit comments

Comments
 (0)