We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c2670d commit dab9822Copy full SHA for dab9822
1 file changed
internal/updater/updater.go
@@ -28,7 +28,6 @@ const (
28
githubRepo = "https-cert/deploy"
29
githubAPIURL = "https://api.github.com/repos/" + githubRepo + "/releases/latest"
30
downloadTimeout = 10 * time.Minute
31
- checksumTimeout = 30 * time.Second
32
)
33
34
// 常见的 GitHub 镜像加速服务
@@ -75,7 +74,7 @@ type UpdateInfo struct {
75
74
func CheckUpdate(ctx context.Context) (*UpdateInfo, error) {
76
currentVersion := config.Version
77
if currentVersion == "" {
78
- currentVersion = "v0.0.1"
+ currentVersion = "v0.4.0"
79
}
80
81
release, err := fetchLatestRelease(ctx)
0 commit comments