diff --git a/version/version.go b/version/version.go index 98e3892e6..424ac47db 100644 --- a/version/version.go +++ b/version/version.go @@ -131,7 +131,7 @@ func (i embeddedInfo) commitAbbrev() string { ret.commitDate = strings.ReplaceAll(ret.commitDate, "-", "") } case "vcs.modified": - ret.dirty = true + ret.dirty = s.Value == "true" } } if ret.commit == "" || ret.commitDate == "" {