Fix version string always having "-dirty" suffix

This commit is contained in:
Darell Tan
2024-11-25 02:47:49 +08:00
parent 03004e809f
commit 2cc2cb87fb

View File

@@ -81,7 +81,7 @@ func readVcsRevision() string {
} }
case "vcs.modified": case "vcs.modified":
dirty = true dirty = s.Value == "true"
} }
} }
if dirty { if dirty {