When version is set via ldflag, append a "?" to indicate uncertainty

This commit is contained in:
Andrew Ayer 2023-02-09 11:29:30 -05:00
parent 1a5f581c07
commit 7d910d5521
1 changed files with 1 additions and 1 deletions

View File

@ -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 {