From 7d910d552119120f9b5fd9845f6d4f91af2b6062 Mon Sep 17 00:00:00 2001 From: Andrew Ayer Date: Thu, 9 Feb 2023 11:29:30 -0500 Subject: [PATCH] When version is set via ldflag, append a "?" to indicate uncertainty --- cmd/certspotter/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/certspotter/main.go b/cmd/certspotter/main.go index 36c6496..1c21b1c 100644 --- a/cmd/certspotter/main.go +++ b/cmd/certspotter/main.go @@ -36,7 +36,7 @@ const defaultLogList = "https://loglist.certspotter.org/monitor.json" func certspotterVersion() string { if Version != "" { - return Version + return Version + "?" } info, ok := debug.ReadBuildInfo() if !ok {