bulid: only return semantic version from Version()

The version field in getinfo is kept the same for backwards
compatibility.
This commit is contained in:
Conner Fromknecht committed 2020-04-10 16:39:23 -07:00
1 parent a25269c4d3
commit 5c04038c18
2 files changed
+1 -4

No files matched your search

-3
View File
@@ -77,9 +77,6 @@ func Version() string {
version = fmt.Sprintf("%s-%s", version, AppPreRelease)
}
// Append commit hash of current build to version.
version = fmt.Sprintf("%s commit=%s", version, Commit)
return version
}