From fe05e6a464a158c93c4ace12499106cef693a08e Mon Sep 17 00:00:00 2001 From: boojack Date: Sat, 12 Nov 2022 09:19:44 +0800 Subject: [PATCH] chore: update version 0.7.2 (#447) --- server/version/version.go | 4 ++-- web/src/components/UpdateVersionBanner.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/version/version.go b/server/version/version.go index d138f401c0551..ea686e6ac588e 100644 --- a/server/version/version.go +++ b/server/version/version.go @@ -7,10 +7,10 @@ import ( // Version is the service current released version. // Semantic versioning: https://semver.org/ -var Version = "0.7.1" +var Version = "0.7.2" // DevVersion is the service current development version. -var DevVersion = "0.7.1" +var DevVersion = "0.7.2" func GetCurrentVersion(mode string) string { if mode == "dev" { diff --git a/web/src/components/UpdateVersionBanner.tsx b/web/src/components/UpdateVersionBanner.tsx index 34f04780057f6..b793ff695f057 100644 --- a/web/src/components/UpdateVersionBanner.tsx +++ b/web/src/components/UpdateVersionBanner.tsx @@ -32,7 +32,7 @@ const UpdateVersionBanner: React.FC = () => { const skipped = skippedVersion ? skippedVersion === latestVersion : false; setState({ latestVersion, - show: !skipped && currentVersion !== latestVersion, + show: !skipped && currentVersion < latestVersion, }); } )