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