mirror of
https://github.com/usememos/memos.git
synced 2024-12-29 16:42:11 +08:00
chore: update version 0.7.2 (#447)
This commit is contained in:
parent
d1aa6aa7f8
commit
fe05e6a464
2 changed files with 3 additions and 3 deletions
|
@ -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" {
|
||||
|
|
|
@ -32,7 +32,7 @@ const UpdateVersionBanner: React.FC = () => {
|
|||
const skipped = skippedVersion ? skippedVersion === latestVersion : false;
|
||||
setState({
|
||||
latestVersion,
|
||||
show: !skipped && currentVersion !== latestVersion,
|
||||
show: !skipped && currentVersion < latestVersion,
|
||||
});
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue