chore: update version 0.7.2 (#447)

This commit is contained in:
boojack 2022-11-12 09:19:44 +08:00 committed by GitHub
parent d1aa6aa7f8
commit fe05e6a464
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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" {

View file

@ -32,7 +32,7 @@ const UpdateVersionBanner: React.FC = () => {
const skipped = skippedVersion ? skippedVersion === latestVersion : false;
setState({
latestVersion,
show: !skipped && currentVersion !== latestVersion,
show: !skipped && currentVersion < latestVersion,
});
}
)