From ed222d181d8b210e3790704bc7372d9069a62e67 Mon Sep 17 00:00:00 2001 From: kayos Date: Mon, 16 Aug 2021 12:18:38 -0700 Subject: [PATCH] fix version string redundancy --- main.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/main.go b/main.go index f64e17d..9111832 100644 --- a/main.go +++ b/main.go @@ -125,13 +125,9 @@ func init() { cliFlags() go sigHandler() - // to make versioning via git commits work, build like this: - // - // export GIT_COMMIT=$(git rev-list -1 HEAD) && go build ./ ld - if len(GitVersion) > 0 { log.Info(). - Str("Version", "git-"+GitVersion). + Str("Version", GitVersion). Str("Built", BuildDate). Msg("Initializing protomolecule") }