diff --git a/build.go b/build.go index 621526e5a..c0acd8cf0 100644 --- a/build.go +++ b/build.go @@ -861,7 +861,7 @@ func getReleaseVersion() (string, error) { func getGitVersion() (string, error) { // The current version as Git sees it - bs, err := runError("git", "describe", "--always", "--dirty") + bs, err := runError("git", "describe", "--always", "--dirty", "--abbrev=8") if err != nil { return "", err }