From 015fc862589cb76a3f95e1c1903fbe0cfa1b4f85 Mon Sep 17 00:00:00 2001 From: paladz <453256728@qq.com> Date: Mon, 22 Apr 2019 14:15:55 +0800 Subject: [PATCH] change the version --- version/version.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/version/version.go b/version/version.go index 41617eb5d..31e2e917f 100644 --- a/version/version.go +++ b/version/version.go @@ -47,7 +47,7 @@ const ( var ( // The full version string - Version = "1.0.8" + Version = "1.0.9" // GitCommit is set with --ldflags "-X main.gitCommit=$(git rev-parse HEAD)" GitCommit string Status *UpdateStatus @@ -113,7 +113,7 @@ func (s *UpdateStatus) CheckUpdate(localVerStr string, remoteVerStr string, remo if err != nil { return err } - + if remoteVersion.GreaterThan(maxVersion) { s.maxVerSeen = remoteVerStr }