Use + as a build metadata separator in version

Follows SemVer
This commit is contained in:
Juan Carlos Mejías Rodríguez 2019-08-09 01:34:21 -04:00
parent ea30e28261
commit a6a4a70996

View File

@ -22,7 +22,7 @@ var (
func BuildVersionString() string {
if commitHash != "" {
version += "-" + strings.ToUpper(commitHash)
version += "+" + strings.ToUpper(commitHash)
}
osArch := runtime.GOOS + "/" + runtime.GOARCH