将 version.go 默认版本从 "dev" 改为 "0.3.0", 使 /api/version 端点无需 ldflags 即可返回正确版本号。
This commit is contained in:
parent
a7d44e12f0
commit
84483f127d
@ -3,7 +3,7 @@ package version
|
||||
import "runtime"
|
||||
|
||||
var (
|
||||
Version = "dev"
|
||||
Version = "0.3.0"
|
||||
Commit = "none"
|
||||
Date = "unknown"
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user