Strip version with ~ instead of - (#2076)
This commit is contained in:
parent
40b5bcb918
commit
01ea78c10e
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ func VersionStr() string {
|
|||
}
|
||||
|
||||
func VersionStrip() string {
|
||||
version := strings.Split(Version, "-")
|
||||
version := strings.Split(Version, "~")
|
||||
return version[0]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue