mirror of
https://github.com/usememos/memos.git
synced 2025-10-10 06:16:35 +08:00
chore: tweak schema version
This commit is contained in:
parent
d54c8065b5
commit
d066d46f6e
5 changed files with 3 additions and 3 deletions
|
@ -9,10 +9,10 @@ import (
|
|||
|
||||
// Version is the service current released version.
|
||||
// Semantic versioning: https://semver.org/
|
||||
var Version = "0.22.6"
|
||||
var Version = "0.23.0"
|
||||
|
||||
// DevVersion is the service current development version.
|
||||
var DevVersion = "0.22.6"
|
||||
var DevVersion = "0.23.0"
|
||||
|
||||
func GetCurrentVersion(mode string) string {
|
||||
if mode == "dev" || mode == "demo" {
|
||||
|
|
|
@ -13,5 +13,5 @@ func TestGetCurrentSchemaVersion(t *testing.T) {
|
|||
|
||||
currentSchemaVersion, err := ts.GetCurrentSchemaVersion()
|
||||
require.NoError(t, err)
|
||||
require.Equal(t, "0.22.5", currentSchemaVersion)
|
||||
require.Equal(t, "0.23.1", currentSchemaVersion)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue