fix incorrect version strip (#2206)
This commit is contained in:
parent
0ddd42c01f
commit
412b4c4b0b
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ func VersionStr() string {
|
|||
|
||||
func VersionStrip() string {
|
||||
version := strings.Split(Version, "~")
|
||||
version = strings.Split(version[0], "-")
|
||||
return version[0]
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue