mirror of
https://gitlab.com/psuapp/psu.git
synced 2024-08-30 18:12:34 +00:00
Use + as a build metadata separator in version
Follows SemVer
This commit is contained in:
parent
ea30e28261
commit
a6a4a70996
@ -22,7 +22,7 @@ var (
|
|||||||
|
|
||||||
func BuildVersionString() string {
|
func BuildVersionString() string {
|
||||||
if commitHash != "" {
|
if commitHash != "" {
|
||||||
version += "-" + strings.ToUpper(commitHash)
|
version += "+" + strings.ToUpper(commitHash)
|
||||||
}
|
}
|
||||||
|
|
||||||
osArch := runtime.GOOS + "/" + runtime.GOARCH
|
osArch := runtime.GOOS + "/" + runtime.GOARCH
|
||||||
|
Loading…
Reference in New Issue
Block a user